Untitled

Run Settings
LanguageLua
Language Version
Run Command
local oldPos = CFrame.new() local root = owner.Character:FindFirstChild("HumanoidRootPart") function loadCharacter() local char = owner.Character if char then local hum = char:FindFirstChildOfClass("Humanoid") root = char:FindFirstChild("HumanoidRootPart") if root then root.CFrame = oldPos end if hum then hum.Died:connect(function() if root then oldPos = root.CFrame end owner:LoadCharacter() end) end end --[[ Paste your script below, I guess. ]] ------>>Ink Bendy<<---------- ---- ---------------------------------------------------------------- print([[ --made by Makhail07 --FE code by Mokiros --Edited by XKxngSupremeX-- --Discord: OofCopSupreme#1765 --The Sing Move Is By 1nd1k! -------------------------------- hello good sir Don't leak pls Enjoy ;) -------------------------------- ]]) local runService = game:GetService("RunService") local remote = Instance.new("RemoteEvent") remote.Name = "InputRemote" local remote2 = Instance.new("RemoteEvent") remote2.Name = "CameraRemote" local function newBindableEvent(name) local event = Instance.new("BindableEvent") event.Name = name event.Parent = remote return event end local mouse = { Hit = CFrame.new(), hit = CFrame.new(), Target = nil, TargetFilter = nil, X = 0, Y = 0, UnitRay = { Origin = Vector3.new(), Direction = Vector3.new() }, Button1Down = newBindableEvent("Button1Down").Event, Button1Up = newBindableEvent("Button1Up").Event, Button2Down = newBindableEvent("Button2Down").Event, Button2Up = newBindableEvent("Button2Up").Event, KeyDown = newBindableEvent("KeyDown").Event, KeyUp = newBindableEvent("KeyUp").Event, Move = newBindableEvent("Move").Event } local Mouse, MMouse = mouse, mouse local camera = { CFrame = CFrame.new(), CameraType = Enum.CameraType.Custom, CameraSubject = owner.Character.Humanoid } local cam, Cam, Camera = camera, camera, camera remote.OnServerEvent:Connect(function(plr, thing, input) if type(thing) == "table" then for k, v in pairs(thing) do mouse[k] = v end elseif type(thing) == "string" then local ev = remote:FindFirstChild(thing) if ev then ev:Fire(input) end end end) remote2.OnServerEvent:Connect(function(plr, arg) if arg and typeof(arg) == "CFrame" and plr == owner then camera.CFrame = arg camera.CoordinateFrame = arg end end) task.spawn(function() local humanoid = owner.Character:WaitForChild("Humanoid") while remote2 do remote2:FireClient(owner, camera, humanoid.CameraOffset) for i = 1, 2 do runService.Heartbeat:Wait() end end end) local A = NLS([=[ --[[ note from spunargar: The camera bugs out when you use mouse lock with scripts which use :lerp on the camera's CFrame. So try not to use it lmao. I would have the script temporarily disable mouse lock, but that's just not possible because 1) I am limited to a poopy sandbox, and 2) force disabling mouse lock would require me to edit the damn camera module in PlayerScripts (no pun intended), and I don't even have module perms. ]]-- local UIS = game:GetService("UserInputService") local runService = game:GetService("RunService") local mouse = owner:GetMouse() local char = owner.Character local humanoid = char:FindFirstChildWhichIsA("Humanoid") local camera = workspace.CurrentCamera local remote = script:WaitForChild("InputRemote") local remote2 = script:WaitForChild("CameraRemote") local function getMouse3DInfo(length, filter) length = length or 999 local screenPosition = UIS:GetMouseLocation() local unitRay = workspace.CurrentCamera:ScreenPointToRay(screenPosition.X, screenPosition.Y) local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = filter or {} local data = { Origin = unitRay.Origin; Direction = unitRay.Direction; Target = nil; Position = nil; SurfaceNormal = nil; Distance = nil; } local raycast = workspace:Raycast(unitRay.Origin, unitRay.Direction * length, params) if raycast then data.Target = raycast.Instance data.Position = raycast.Position data.SurfaceNormal = raycast.Normal data.Distance = raycast.Distance else data.Position = unitRay.Origin + (unitRay.Direction * length) data.Distance = (data.Position - unitRay.Origin).Magnitude end return data end mouse.Button1Down:Connect(function() remote:FireServer("Button1Down") end); mouse.Button1Up:Connect(function() remote:FireServer("Button1Up") end) mouse.Button2Down:Connect(function() remote:FireServer("Button2Down") end); mouse.Button2Up:Connect(function() remote:FireServer("Button2Up") end) mouse.KeyDown:Connect(function(key) remote:FireServer("KeyDown", key) end); mouse.KeyUp:Connect(function(key) remote:FireServer("KeyUp", key) end) mouse.Move:Connect(function() remote:FireServer("Move") end) task.spawn(function() while remote do local data = getMouse3DInfo(nil, {mouse.TargetFilter}) remote:FireServer({ Hit = CFrame.new(data.Position), hit = CFrame.new(data.Position), Target = data.Target, TargetFilter = mouse.TargetFilter, X = mouse.X, Y = mouse.Y, UnitRay = { Origin = data.Origin, Direction = data.Direction } }) for i = 1, 2 do runService.Heartbeat:Wait() end -- As to not overload the remote. end end) remote2.OnClientEvent:Connect(function(fakeCamera, cameraOffset) if fakeCamera then local cameraType, cameraSubject = fakeCamera.CameraType, fakeCamera.CameraSubject pcall(function() camera.CameraType = cameraType camera.CameraSubject = cameraSubject end) if camera.CameraType == Enum.CameraType.Scriptable then camera.CFrame = fakeCamera.CFrame else -- Without this, the camera would interpolate from (0, 0, 0) to the target CFrame in situations where :lerp() is used. remote2:FireServer(camera.CFrame) end end if cameraOffset then humanoid.CameraOffset = cameraOffset end end)]=], owner.PlayerGui) remote.Parent, remote2.Parent = A, A Player = owner PlayerGui = Player.PlayerGui Cam = workspace.CurrentCamera Backpack = Player.Backpack Character = Player.Character Humanoid = Character.Humanoid Mouse = mouse RootPart = Character["HumanoidRootPart"] Torso = Character["Torso"] Head = Character["Head"] RightArm = Character["Right Arm"] LeftArm = Character["Left Arm"] RightLeg = Character["Right Leg"] LeftLeg = Character["Left Leg"] RootJoint = RootPart["RootJoint"] Neck = Torso["Neck"] RightShoulder = Torso["Right Shoulder"] LeftShoulder = Torso["Left Shoulder"] RightHip = Torso["Right Hip"] LeftHip = Torso["Left Hip"] KEYHOLD = false IT = Instance.new CF = CFrame.new VT = Vector3.new RAD = math.rad C3 = Color3.new UD2 = UDim2.new BRICKC = BrickColor.new ANGLES = CFrame.Angles EULER = CFrame.fromEulerAnglesXYZ COS = math.cos ACOS = math.acos SIN = math.sin ASIN = math.asin ABS = math.abs MRANDOM = math.random FLOOR = math.floor Character = Player.Character Humanoid = Character.Humanoid --------- plr = owner chara = plr.Character Create = Instance.new Huge = math.huge PlayerGui = Player.PlayerGui Cam = workspace.CurrentCamera Backpack = Player.Backpack Character = Player.Character char = Player.Character Humanoid = Character.Humanoid RootPart = Character["HumanoidRootPart"] Torso = Character["Torso"] Head = Character["Head"] RightArm = Character["Right Arm"] LeftArm = Character["Left Arm"] RightLeg = Character["Right Leg"] LeftLeg = Character["Left Leg"] RootJoint = RootPart["RootJoint"] Neck = Torso["Neck"] RightShoulder = Torso["Right Shoulder"] LeftShoulder = Torso["Left Shoulder"] RightHip = Torso["Right Hip"] LeftHip = Torso["Left Hip"] function weld(a, b, acf) local w = Instance.new("Weld", a) w.Part0 = a w.Part1 = b w.C0 = acf end -------------------------------- char.Head.face.Texture = "rbxassetid://0" -------------------------------- Torso.Transparency = 1 Head.Transparency = 1 LeftLeg.Transparency = 1 RightLeg.Transparency = 1 LeftArm.Transparency = 1 RightArm.Transparency = 1 ------------------------------------------------------- local FavIDs = { 340106355, --Nefl Crystals 927529620, --Dimension 876981900, --Fantasy 398987889, --Ordinary Days 1117396305, --Oh wait, it's you. 885996042, --Action Winter Journey 919231299, --Sprawling Idiot Effigy 743466274, --Good Day Sunshine 727411183, --Knife Fight 1402748531, --The Earth Is Counting On You! 595230126 --Robot Language } --The reality of my life isn't real but a Universe -makhail07 wait(0.2) local plr = owner print('Local User is '..plr.Name) print('SCRIPTNAME Loaded') print('SCRIPT DESCRIPTION') local char = plr.Character local hum = char.Humanoid local hed = char.Head local root = char.HumanoidRootPart local rootj = root.RootJoint local tors = char.Torso local ra = char["Right Arm"] local la = char["Left Arm"] local rl = char["Right Leg"] local ll = char["Left Leg"] local neck = tors["Neck"] local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) local maincolor = BrickColor.new("Really black") ------------------------------------------------------- --Start Good Stuff-- ------------------------------------------------------- cam = game.Workspace.CurrentCamera CF = CFrame.new angles = CFrame.Angles attack = false Euler = CFrame.fromEulerAnglesXYZ Rad = math.rad IT = Instance.new BrickC = BrickColor.new Cos = math.cos Acos = math.acos Sin = math.sin Asin = math.asin Abs = math.abs Mrandom = math.random Floor = math.floor ------------------------------------------------------- --End Good Stuff-- ------------------------------------------------------- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) RSH, LSH = nil, nil RW = Instance.new("Weld") LW = Instance.new("Weld") RH = tors["Right Hip"] LH = tors["Left Hip"] RSH = tors["Right Shoulder"] LSH = tors["Left Shoulder"] RSH.Parent = nil LSH.Parent = nil RW.Name = "RW" RW.Part0 = tors RW.C0 = CF(1.5, 0.5, 0) RW.C1 = CF(0, 0.5, 0) RW.Part1 = ra RW.Parent = tors LW.Name = "LW" LW.Part0 = tors LW.C0 = CF(-1.5, 0.5, 0) LW.C1 = CF(0, 0.5, 0) LW.Part1 = la LW.Parent = tors Effects = {} ------------------------------------------------------- --Start HeartBeat-- ------------------------------------------------------- ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "Heartbeat" script:WaitForChild("Heartbeat") frame = 1 / 60 tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.Heartbeat:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.Heartbeat:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.Heartbeat:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) ------------------------------------------------------- --End HeartBeat-- ------------------------------------------------------- local joyemoji = Instance.new('ParticleEmitter', tors) joyemoji.VelocitySpread = 2000 joyemoji.Lifetime = NumberRange.new(1) joyemoji.Speed = NumberRange.new(40) joy= {} for i=0, 19 do joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end joyemoji.Size = NumberSequence.new(joy) joyemoji.Rate = 0 joyemoji.LockedToPart = false joyemoji.LightEmission = 0 joyemoji.Texture = "rbxassetid://73623723" joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) ------------------------------------------------------- --Start Important Functions-- ------------------------------------------------------- function swait(num) if num == 0 or num == nil then game:service("RunService").Stepped:wait(0) else for i = 0, num do game:service("RunService").Stepped:wait(0) end end end function thread(f) coroutine.resume(coroutine.create(f)) end function clerp(a, b, t) local qa = { QuaternionFromCFrame(a) } local qb = { QuaternionFromCFrame(b) } local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1 - t return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5 / s return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 else local i = 0 if m00 < m11 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00 - m11 - m22 + 1) local recip = 0.5 / s return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip elseif i == 1 then local s = math.sqrt(m11 - m22 - m00 + 1) local recip = 0.5 / s return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip elseif i == 2 then local s = math.sqrt(m22 - m00 - m11 + 1) local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip end end end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w * xs, w * ys, w * zs local xx = x * xs local xy = x * ys local xz = x * zs local yy = y * ys local yz = y * zs local zz = z * zs return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) end function QuaternionSlerp(a, b, t) local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] local startInterp, finishInterp if cosTheta >= 1.0E-4 then if 1 - cosTheta > 1.0E-4 then local theta = math.acos(cosTheta) local invSinTheta = 1 / Sin(theta) startInterp = Sin((1 - t) * theta) * invSinTheta finishInterp = Sin(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end elseif 1 + cosTheta > 1.0E-4 then local theta = math.acos(-cosTheta) local invSinTheta = 1 / Sin(theta) startInterp = Sin((t - 1) * theta) * invSinTheta finishInterp = Sin(t * theta) * invSinTheta else startInterp = t - 1 finishInterp = t end return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp end function rayCast(Position, Direction, Range, Ignore) return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) end local RbxUtility = LoadLibrary("RbxUtility") local Create = RbxUtility.Create function getRegion(point,range,ignore) return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) end function GetTorso(char) return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' end local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} ------------------------------------------------------- --Start Damage Function-- ------------------------------------------------------- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) if hit.Parent == nil then return end local h = hit.Parent:FindFirstChildOfClass("Humanoid") for _, v in pairs(hit.Parent:children()) do if v:IsA("Humanoid") then h = v end end if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then hit.Parent:FindFirstChild("Head"):BreakJoints() end if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then if hit.Parent:findFirstChild("DebounceHit") ~= nil then if hit.Parent.DebounceHit.Value == true then return end end if insta == true then hit.Parent:FindFirstChild("Head"):BreakJoints() end local c = Create("ObjectValue"){ Name = "creator", Value = owner, Parent = h, } game:GetService("Debris"):AddItem(c, .5) if HitSound ~= nil and HitPitch ~= nil then CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) end local Damage = math.random(minim, maxim) local blocked = false local block = hit.Parent:findFirstChild("Block") if block ~= nil then if block.className == "IntValue" then if block.Value > 0 then blocked = true block.Value = block.Value - 1 print(block.Value) end end end if blocked == false then h.Health = h.Health - Damage ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) else h.Health = h.Health - (Damage / 2) ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) end if Type == "Knockdown" then local hum = hit.Parent.Humanoid hum.PlatformStand = true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand = false end), hum) local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit local bodvol = Create("BodyVelocity"){ velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } local rl = Create("BodyAngularVelocity"){ P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit, } game:GetService("Debris"):AddItem(bodvol, .5) game:GetService("Debris"):AddItem(rl, .5) elseif Type == "Normal" then local vp = Create("BodyVelocity"){ P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, } if knockback > 0 then vp.Parent = hit.Parent.Torso end game:GetService("Debris"):AddItem(vp, .5) elseif Type == "Up" then local bodyVelocity = Create("BodyVelocity"){ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } game:GetService("Debris"):AddItem(bodyVelocity, .5) elseif Type == "DarkUp" then coroutine.resume(coroutine.create(function() for i = 0, 1, 0.1 do swait() Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) end end)) local bodyVelocity = Create("BodyVelocity"){ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } game:GetService("Debris"):AddItem(bodyVelocity, 1) elseif Type == "Snare" then local bp = Create("BodyPosition"){ P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso, } game:GetService("Debris"):AddItem(bp, 1) elseif Type == "Freeze" then local BodPos = Create("BodyPosition"){ P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso, } local BodGy = Create("BodyGyro") { maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , P = 20e+003, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame, } hit.Parent.Torso.Anchored = true coroutine.resume(coroutine.create(function(Part) swait(1.5) Part.Anchored = false end), hit.Parent.Torso) game:GetService("Debris"):AddItem(BodPos, 3) game:GetService("Debris"):AddItem(BodGy, 3) end local debounce = Create("BoolValue"){ Name = "DebounceHit", Parent = hit.Parent, Value = true, } game:GetService("Debris"):AddItem(debounce, Delay) c = Create("ObjectValue"){ Name = "creator", Value = Player, Parent = h, } game:GetService("Debris"):AddItem(c, .5) end end ------------------------------------------------------- --End Damage Function-- ------------------------------------------------------- ------------------------------------------------------- --Start Damage Function Customization-- ------------------------------------------------------- function ShowDamage(Pos, Text, Time, Color) local Rate = (1 / 30) local Pos = (Pos or Vector3.new(0, 0, 0)) local Text = (Text or "") local Time = (Time or 2) local Color = (Color or Color3.new(255, 255, 1)) local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) EffectPart.Anchored = true local BillboardGui = Create("BillboardGui"){ Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart, } local TextLabel = Create("TextLabel"){ BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, Font = "Bodoni", TextColor3 = Color, TextScaled = true, TextStrokeColor3 = Color3.fromRGB(0,0,0), Parent = BillboardGui, } game.Debris:AddItem(EffectPart, (Time)) EffectPart.Parent = game:GetService("Workspace") delay(0, function() local Frames = (Time / Rate) for Frame = 1, Frames do wait(Rate) local Percent = (Frame / Frames) EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) TextLabel.TextTransparency = Percent end if EffectPart and EffectPart.Parent then EffectPart:Destroy() end end) end ------------------------------------------------------- --End Damage Function Customization-- ------------------------------------------------------- function MagniDamage(Part, magni, mindam, maxdam, knock, Type) for _, c in pairs(workspace:children()) do local hum = c:findFirstChild("Humanoid") if hum ~= nil then local head = c:findFirstChild("Head") if head ~= nil then local targ = head.Position - Part.Position local mag = targ.magnitude if magni >= mag and c.Name ~= plr.Name then Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) end end end end end CFuncs = { Part = { Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part")({ Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material }) RemoveOutlines(Part) return Part end }, Mesh = { Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({ Parent = Part, Offset = OffSet, Scale = Scale }) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end }, Mesh = { Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({ Parent = Part, Offset = OffSet, Scale = Scale }) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end }, Weld = { Create = function(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld")({ Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1 }) return Weld end }, Sound = { Create = function(id, par, vol, pit) coroutine.resume(coroutine.create(function() local S = Create("Sound")({ Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace }) wait() S:play() game:GetService("Debris"):AddItem(S, 6) end)) end }, ParticleEmitter = { Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) local fp = Create("ParticleEmitter")({ Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread }) return fp end } } function RemoveOutlines(part) part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 end function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part")({ formFactor = FormFactor, Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material }) RemoveOutlines(Part) return Part end function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({ Parent = Part, Offset = OffSet, Scale = Scale }) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end function CreateWeld(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld")({ Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1 }) return Weld end ------------------------------------------------------- --Start Effect Function-- ------------------------------------------------------- EffectModel = Instance.new("Model", char) Effects = { Block = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) if Type == 1 or Type == nil then table.insert(Effects, { prt, "Block1", delay, x3, y3, z3, msh }) elseif Type == 2 then table.insert(Effects, { prt, "Block2", delay, x3, y3, z3, msh }) else table.insert(Effects, { prt, "Block3", delay, x3, y3, z3, msh }) end end }, Sphere = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end }, Cylinder = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end }, Wave = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3 / 60, y3 / 60, z3 / 60, msh }) end }, Ring = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end }, Break = { Create = function(brickcolor, cframe, x1, y1, z1) local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) local num = math.random(10, 50) / 1000 game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100 }) end }, Spiral = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end }, Push = { Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, { prt, "Cylinder", delay, x3, y3, z3, msh }) end } } function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) local fp = IT("Part") fp.formFactor = formfactor fp.Parent = parent fp.Reflectance = reflectance fp.Transparency = transparency fp.CanCollide = false fp.Locked = true fp.BrickColor = brickcolor fp.Name = name fp.Size = size fp.Position = tors.Position RemoveOutlines(fp) fp.Material = "SmoothPlastic" fp:BreakJoints() return fp end function mesh(Mesh,part,meshtype,meshid,offset,scale) local mesh = IT(Mesh) mesh.Parent = part if Mesh == "SpecialMesh" then mesh.MeshType = meshtype if meshid ~= "nil" then mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid end end mesh.Offset = offset mesh.Scale = scale return mesh end function Magic(bonuspeed, type, pos, scale, value, color, MType) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = MType rngm.Scale = scale local scaler2 = 1 if type == "Add" then scaler2 = 1 * value elseif type == "Divide" then scaler2 = 1 / value end coroutine.resume(coroutine.create(function() for i = 0, 10 / bonuspeed, 0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01 * value / bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01 / value * bonuspeed end rng.Transparency = rng.Transparency + 0.01 * bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) end rng:Destroy() end)) end function Eviscerate(dude) if dude.Name ~= char then local bgf = IT("BodyGyro", dude.Head) bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) local val = IT("BoolValue", dude) val.Name = "IsHit" local ds = coroutine.wrap(function() dude:WaitForChild("Head"):BreakJoints() wait(0.5) target = nil coroutine.resume(coroutine.create(function() for i, v in pairs(dude:GetChildren()) do if v:IsA("Accessory") then v:Destroy() end if v:IsA("Humanoid") then v:Destroy() end if v:IsA("CharacterMesh") then v:Destroy() end if v:IsA("Model") then v:Destroy() end if v:IsA("Part") or v:IsA("MeshPart") then for x, o in pairs(v:GetChildren()) do if o:IsA("Decal") then o:Destroy() end end coroutine.resume(coroutine.create(function() v.Material = "Neon" v.CanCollide = false local PartEmmit1 = IT("ParticleEmitter", reye) PartEmmit1.LightEmission = 1 PartEmmit1.Texture = "rbxassetid://284205403" PartEmmit1.Color = ColorSequence.new(maincolor.Color) PartEmmit1.Rate = 150 PartEmmit1.Lifetime = NumberRange.new(1) PartEmmit1.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.75, 0), NumberSequenceKeypoint.new(1, 0, 0) }) PartEmmit1.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0) }) PartEmmit1.Speed = NumberRange.new(0, 0) PartEmmit1.VelocitySpread = 30000 PartEmmit1.Rotation = NumberRange.new(-500, 500) PartEmmit1.RotSpeed = NumberRange.new(-500, 500) local BodPoss = IT("BodyPosition", v) BodPoss.P = 3000 BodPoss.D = 1000 BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) v.Color = maincolor.Color coroutine.resume(coroutine.create(function() for i = 0, 49 do swait(1) v.Transparency = v.Transparency + 0.08 end wait(0.5) PartEmmit1.Enabled = false wait(3) v:Destroy() dude:Destroy() end)) end)) end end end)) end) ds() end end function FindNearestHead(Position, Distance, SinglePlayer) if SinglePlayer then return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude end local List = {} for i, v in pairs(workspace:GetChildren()) do if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then table.insert(List, v) end end return List end function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = MType rngm.Scale = Vector3.new(x1, y1, z1) local scaler2 = 1 local speeder = FastSpeed if type == "Add" then scaler2 = 1 * value elseif type == "Divide" then scaler2 = 1 / value end coroutine.resume(coroutine.create(function() for i = 0, 10 / bonuspeed, 0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01 * value / bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01 / value * bonuspeed end speeder = speeder - 0.01 * FastSpeed * bonuspeed rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed rng.Transparency = rng.Transparency + 0.01 * bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) end rng:Destroy() end)) end function SoulSteal(dude) if dude.Name ~= char then local bgf = IT("BodyGyro", dude.Head) bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) local val = IT("BoolValue", dude) val.Name = "IsHit" local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') local soulst = coroutine.wrap(function() local soul = Instance.new("Part",dude) soul.Size = Vector3.new(1,1,1) soul.CanCollide = false soul.Anchored = false soul.Position = torso.Position soul.Transparency = 1 local PartEmmit1 = IT("ParticleEmitter", soul) PartEmmit1.LightEmission = 1 PartEmmit1.Texture = "rbxassetid://569507414" PartEmmit1.Color = ColorSequence.new(maincolor.Color) PartEmmit1.Rate = 250 PartEmmit1.Lifetime = NumberRange.new(1.6) PartEmmit1.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0, 0) }) PartEmmit1.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0) }) PartEmmit1.Speed = NumberRange.new(0, 0) PartEmmit1.VelocitySpread = 30000 PartEmmit1.Rotation = NumberRange.new(-360, 360) PartEmmit1.RotSpeed = NumberRange.new(-360, 360) local BodPoss = IT("BodyPosition", soul) BodPoss.P = 3000 BodPoss.D = 1000 BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) wait(1.6) soul.Touched:connect(function(hit) if hit.Parent == char then soul:Destroy() end end) wait(1.2) while soul do swait() PartEmmit1.Color = ColorSequence.new(maincolor.Color) BodPoss.Position = tors.Position end end) soulst() end end function FaceMouse() local Cam = workspace.CurrentCamera return { CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) } end BTAUNT2 = Instance.new("Sound", char) BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=0" BTAUNT2.Volume = 20 BTAUNT2.Pitch = 1 BTAUNT2.Looped = true BTAUNT3 = Instance.new("Sound", tors) BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2826580315" BTAUNT3.Volume = 5 BTAUNT3.Pitch = 1 BTAUNT3.Looped = false BTAUNT4 = Instance.new("Sound", char.Torso) BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=1470848774" BTAUNT4.Volume = 5 BTAUNT4.Pitch = 3 BTAUNT4.Looped = true BTAUNT5 = Instance.new("Sound", char.Torso) BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=1470848774" BTAUNT5.Volume = 5 BTAUNT5.Pitch = 1 BTAUNT5.Looped = true TEST = Instance.new("Sound", tors) TEST.SoundId = "http://www.roblox.com/asset/?id=636494529" TEST.Volume = 25 TEST.Pitch = 1 TEST.Looped = false ------------------------------------------------------- --End Effect Function-- ------------------------------------------------------- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) local NEWMESH = IT(MESH) if MESH == "SpecialMesh" then NEWMESH.MeshType = MESHTYPE if MESHID ~= "nil" and MESHID ~= "" then NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID end if TEXTUREID ~= "nil" and TEXTUREID ~= "" then NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID end end NEWMESH.Offset = OFFSET or VT(0, 0, 0) NEWMESH.Scale = SCALE NEWMESH.Parent = PARENT return NEWMESH end function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) local NEWPART = IT("Part") NEWPART.formFactor = FORMFACTOR NEWPART.Reflectance = REFLECTANCE NEWPART.Transparency = TRANSPARENCY NEWPART.CanCollide = false NEWPART.Locked = true NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) NEWPART.Name = NAME NEWPART.Size = SIZE NEWPART.Position = Torso.Position NEWPART.Material = MATERIAL NEWPART:BreakJoints() NEWPART.Parent = PARENT return NEWPART end function MakeForm(PART,TYPE) local MSH = nil if TYPE == "Cyl" then MSH = IT("CylinderMesh",PART) elseif TYPE == "Ball" then MSH = IT("SpecialMesh",PART) MSH.MeshType = "Sphere" elseif TYPE == "Wedge" then MSH = IT("SpecialMesh",PART) MSH.MeshType = "Wedge" elseif TYPE == "Block" then MSH = IT("SpecialMesh",PART) MSH.MeshType = "Brick" end return MSH end function Cso(ID, PARENT, VOLUME, PITCH) local NSound = nil coroutine.resume(coroutine.create(function() NSound = IT("Sound", PARENT) NSound.Volume = VOLUME NSound.Pitch = PITCH NSound.SoundId = "http://www.roblox.com/asset/?id="..ID swait() NSound:play() game:GetService("Debris"):AddItem(NSound, NSound.TimeLength) end)) return NSound end function CameraEnshaking(Length, Intensity) coroutine.resume(coroutine.create(function() local intensity = 1 * Intensity local rotM = 0.01 * Intensity for i = 0, Length, 0.1 do swait() intensity = intensity - 0.05 * Intensity / Length rotM = rotM - 5.0E-4 * Intensity / Length hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) end hum.CameraOffset = Vector3.new(0, 0, 0) end)) end function Sink(position,radius) for i,v in ipairs(workspace:GetChildren()) do if v:FindFirstChild("Hit2By"..plr.Name) == nil then local body = v:GetChildren() for part = 1, #body do if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then if(body[part].Position - position).Magnitude < radius then if v.ClassName == "Model" then v:FindFirstChildOfClass("Humanoid").Name = "Humanoid" if v:FindFirstChild("Humanoid") then local defence = Instance.new("BoolValue",v) defence.Name = ("Hit2By"..plr.Name) if v.Humanoid.Health ~= 0 then local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") if TORS ~= nil then local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v) coroutine.resume(coroutine.create(function() if HITFLOOR2 ~= nil then TORS.Anchored = true local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4)) Hole2.Color = Color3.new(0,0,0) local MESH = MakeForm(Hole2,"Cyl") MESH.Scale = Vector3.new(0,1,0) Hole2.CFrame = CF(HITPOS2) for i = 1, 10 do swait() MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1) end --Cso("160440683", v:FindFirstChild("Head"), 10, .8) Cso("154955269", v:FindFirstChild("Head"), 10, 1) repeat swait() TORS.CFrame = TORS.CFrame * CF(0,-0.1,0) --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0) until TORS.Position.Y<position.Y-4 v:remove() for i = 1, 10 do swait() MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1) end Hole2:remove() end end)) end end end end --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength end end end end end end function Trail(Part) local TRAIL = Part:Clone() TRAIL.CanCollide = false TRAIL.Anchored = true TRAIL.Parent = EffectModel TRAIL.Name = "Trail" local TRANS = Part.Transparency coroutine.resume(coroutine.create(function() for i = 1, 20 do swait() TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20) end TRAIL:remove() end)) end function getRegion(point,range,ignore) return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100) end function GetTorso(char) return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' end local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Sphere" rngm.Scale = Vector3.new(x1, y1, z1) local scaler2 = 1 local speeder = FastSpeed if type == "Add" then scaler2 = 1 * value elseif type == "Divide" then scaler2 = 1 / value end coroutine.resume(coroutine.create(function() for i = 0, 10 / bonuspeed, 0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01 * value / bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01 / value * bonuspeed end speeder = speeder - 0.01 * FastSpeed * bonuspeed rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed rng.Transparency = rng.Transparency + 0.01 * bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) end rng:Destroy() end)) end function CreateSound(ID, PARENT, VOLUME, PITCH) local NSound = nil coroutine.resume(coroutine.create(function() NSound = Instance.new("Sound", PARENT) NSound.Volume = VOLUME NSound.Pitch = PITCH NSound.SoundId = "http://www.roblox.com/asset/?id="..ID swait() NSound:play() game:GetService("Debris"):AddItem(NSound, 10) end)) return NSound end ------------------------------------------------------- --End Important Functions-- ------------------------------------------------------- ------------------------------------------------------- --Start Customization-- ------------------------------------------------------- local Player_Size = 6.5 if Player_Size ~= 1 then root.Size = root.Size * Player_Size tors.Size = tors.Size * Player_Size hed.Size = hed.Size * Player_Size ra.Size = ra.Size * Player_Size la.Size = la.Size * Player_Size rl.Size = rl.Size * Player_Size ll.Size = ll.Size * Player_Size ---------------------------------------------------------------------------------- rootj.Parent = root neck.Parent = tors RW.Parent = tors LW.Parent = tors RH.Parent = tors LH.Parent = tors ---------------------------------------------------------------------------------- rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 ---------------------------------------------------------------------------------- RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) --hat.Parent = Character end ---------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- local equipped = false local idle = 0 local change = 1 local val = 0 local toim = 0 local idleanim = 0.3 local sine = 0 local Sit = 1 ---------------------------------------------------------------------------------- hum.WalkSpeed = 14 hum.JumpPower = 57 hum.Animator.Parent = nil ---------------------------------------------------------------------------------- local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5)) local MESH = MakeForm(Hole,"Cyl") ------------------------------------------------------- --End Customization-- ------------------------------------------------------- local Blobby = Instance.new("Part", char) Blobby.Name = "Blob" Blobby.CanCollide = false Blobby.BrickColor = BrickColor.new("Institutional white") Blobby.Transparency = 0 Blobby.Material = "Neon" Blobby.Size = Vector3.new(5, 5, 5) Blobby.TopSurface = Enum.SurfaceType.Smooth Blobby.BottomSurface = Enum.SurfaceType.Smooth local SpareWeld = Instance.new("Weld", Blobby) SpareWeld.Part0 = la SpareWeld.Part1 = Blobby SpareWeld.C1 = CFrame.new(0.7, 1, 0) SpareWeld.C0 = CFrame.Angles(Rad(1.5),1.5,1.5) local M2 = Instance.new("SpecialMesh") M2.Parent = Blobby M2.MeshId = "rbxassetid://0" M2.TextureId = "rbxassetid://4684264848" M2.Scale = Vector3.new(1* Player_Size, 1* Player_Size, 1* Player_Size) --[[local naeeym2 = Instance.new("BillboardGui",char) naeeym2.AlwaysOnTop = true naeeym2.Size = UDim2.new(5,35,2,15) naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) naeeym2.Adornee = hed naeeym2.Name = "Name" --naeeym2.PlayerToHideFrom = Player local tecks2 = Instance.new("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.TextScaled = true tecks2.BorderSizePixel = 0 tecks2.Text = "Fight Me" tecks2.Font = Enum.Font.Bodoni tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = Color3.new(0, 0, 0) tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) tecks2.Size = UDim2.new(1,0,0.5,0) tecks2.Parent = naeeym2]] ---------------------------------------------------------------------------------- local AddInstance = function(Object, ...) local Obj = Instance.new(Object) for i,v in next,(...) do Obj[i] = v end return Obj end ------------------------------------------------------- local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = tors, C0 = CFrame.new(0, -0, 0)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5486927099", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) ----------------------------- local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = hed, C0 = CFrame.new(0, 0.8* Player_Size, 0)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5487287286", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = hed, C0 = CFrame.new(0, 1.4* Player_Size, -0.1* Player_Size)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5487286615", TextureId = "rbxassetid://5487069257", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) ------------------- ---------------------- -------------------------- local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = la, C0 = CFrame.new(0.45* Player_Size, -2.7* Player_Size, -0)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5486930344", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) ------------------------- local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = ra, C0 = CFrame.new(-0.45* Player_Size, -2.7* Player_Size, -0)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5486935302", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) ------------------- local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = ll, C0 = CFrame.new(0, -2.1* Player_Size, -0.1* Player_Size)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5486932954", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) local shirtpart = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = shirtpart, Part0 = rl, C0 = CFrame.new(0, -2.1* Player_Size, -0.1* Player_Size)*CFrame.Angles(0, 0, 0), Part1 = shirtpart, }) local Mesh = AddInstance("SpecialMesh",{ Parent = shirtpart, MeshId = "rbxassetid://5486936523", TextureId = "rbxassetid://5487005562", Scale = Vector3.new(1.3* Player_Size, 1.3* Player_Size, 1.3* Player_Size), VertexColor = Vector3.new(1, 1, 1), }) ---------------------------- i_new = Instance.new function nooutline(part) part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 end function perts(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) local fp=it("Part") fp.formFactor=formfactor fp.Parent=parent fp.Reflectance=reflectance fp.Transparency=transparency fp.CanCollide=false fp.Locked=true fp.BrickColor=BrickColor.new(tostring(brickcolor)) fp.Name=name fp.Size=size fp.Position=Character.Torso.Position nooutline(fp) fp.Material=material fp:BreakJoints() return fp end function mush(Mesh,part,meshtype,meshid,offset,scale) local mush=it(Mesh) mush.Parent=part if Mesh=="SpecialMesh" then mush.MeshType=meshtype mush.MeshId=meshid end mush.Offset=offset mush.Scale=scale return mush end function wald2(parent,part0,part1,c0,c1) local wald2=it("Weld") wald2.Parent=parent wald2.Part0=part0 wald2.Part1=part1 wald2.C0=c0 wald2.C1=c1 return wald2 end function mesh(Mesh, part, meshtype, meshid, offset, scale) local mesh = i_new(Mesh) mesh.Parent = part if Mesh == "SpecialMesh" then mesh.MeshType = meshtype mesh.MeshId = meshid end mesh.Offset = offset mesh.Scale = scale return mesh end local Right_Arm = Character:FindFirstChild("Right Arm") local Left_Arm = Character:FindFirstChild("Left Arm") local Right_Leg = Character:FindFirstChild("Right Leg") local Left_Leg = Character:FindFirstChild("Left Leg") local Right_Shoulder = Torso:FindFirstChild("Right Shoulder") local Left_Shoulder = Torso:FindFirstChild("Left Shoulder") local Right_Hip = Torso:FindFirstChild("Right Hip") local Left_Hip = Torso:FindFirstChild("Left Hip") Clothes = Instance.new("Model",Character) Clothes.Name = "Clothing" ------------------------------------------ BTAUNT = Instance.new("Sound", tors) BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1347525270" BTAUNT.Volume = 6 BTAUNT.Pitch = 1 BTAUNT.Looped = true BTAUNT.TimePosition = 0.2 ------------------------------------------------------- BTAUNT99 = Instance.new("Sound", char.Torso) BTAUNT99.SoundId = "http://www.roblox.com/asset/?id=2777522827" BTAUNT99.Volume = 2 BTAUNT99.Pitch = 1 BTAUNT99.Looped = true --------------------------------------- wait(1) plr = owner char = plr.Character whitecolor = Color3.new(255,255,1) epicmode = false normal = true for i,v in pairs(char:GetChildren()) do if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then v:Destroy() end end local shirt = Instance.new("Shirt",char) shirt.ShirtTemplate = "rbxassetid://0" local pants = Instance.new("Pants",char) pants.PantsTemplate = "rbxassetid://0" local bdycolors = char["Body Colors"] bdycolors.HeadColor3 = whitecolor bdycolors.LeftArmColor3 = whitecolor bdycolors.LeftLegColor3 = whitecolor bdycolors.RightArmColor3 = whitecolor bdycolors.RightLegColor3 = whitecolor bdycolors.TorsoColor3 = whitecolor for i,v in pairs(char:GetChildren()) do if v.ClassName == "Hat" or v.ClassName == "Accessory" then v:Destroy() end end local BC = Character["Body Colors"] BC.HeadColor = BrickColor.new("Crimson") BC.LeftArmColor = BrickColor.new("Light orange") BC.LeftLegColor = BrickColor.new("Light orange") BC.RightArmColor = BrickColor.new("Light orange") BC.RightLegColor = BrickColor.new("Light orange") BC.TorsoColor = BrickColor.new("Institutional white") players = game:GetService("Players") player = owner head = player.Character:WaitForChild("Head") --------------------------- local h = char.Humanoid local hp = h.Health function miss() h.Health = 100 for i = 0.1,0.15 do swait() rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.2* Player_Size) * angles(Rad(0), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.5) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(-0.2, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) RH.C0 = clerp(RH.C0, CF(1 + 0 * Player_Size, -0.8 * Player_Size, -0.5 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-5 - 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.5) LH.C0 = clerp(LH.C0, CF(-1 + 0 * Player_Size, -0.8 * Player_Size, -0.5 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-5 + 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.5) RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, -0.2 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(130 + 2.5 * Sin(sine / 16))), 0.5) LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, -0.2 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(-130 + 2.5 * Sin(sine / 16))), 0.5) end for i = 1,0.15 do swait() root.CFrame = root.CFrame:Lerp(root.CFrame * CFrame.new(0, 0, 1), 0.85) end for i = 1,15 do swait() root.CFrame = root.CFrame:Lerp(root.CFrame * CFrame.new(0, 0, 1), 0.85) rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.2* Player_Size) * angles(Rad(0), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 0.5) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(-0.2, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5) RH.C0 = clerp(RH.C0, CF(1 + 0 * Player_Size, -0.8 * Player_Size, -0.5 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-5 - 0 * Sin(sine / 24)), Rad(0), Rad(30)), 0.5) LH.C0 = clerp(LH.C0, CF(-1 + 0 * Player_Size, -0.8 * Player_Size, -0.5 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-5 + 0 * Sin(sine / 24)), Rad(0), Rad(-30)), 0.5) RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, -0.2 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(130 + 2.5 * Sin(sine / 16))), 0.5) LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, -0.2 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(-130 + 2.5 * Sin(sine / 16))), 0.5) end for i = 1,0.15 do swait() root.CFrame = root.CFrame:Lerp(root.CFrame * CFrame.new(0, 0, -5), 1) end attack= false end --health-- rings = Instance.new("Model",script) function HealthChanged() if h.Health < hp then if h.Health > 0 and attack == false then h.Health = 10000 local re = Instance.new("ReverbSoundEffect") re.DecayTime = 100 re.Density = 10000 re.Diffusion = 100 re.DryLevel = 1.5 re.WetLevel = 10 re.Parent = Cso("5077336384", tors, 6, 1) Cso("5077336384", tors, 6, 1) end end hp = h.Health end h.HealthChanged:Connect(HealthChanged) ------------- ----------------------------- function chatfunc(text, color) local chat = coroutine.wrap(function() if char:FindFirstChild("TalkingBillBoard") ~= nil then char:FindFirstChild("TalkingBillBoard"):destroy() end local naeeym2 = Instance.new("BillboardGui", char) naeeym2.Size = UDim2.new(0, 100, 0, 40) naeeym2.StudsOffset = Vector3.new(0, 3, 0) naeeym2.Adornee = hed naeeym2.Name = "TalkingBillBoard" local tecks2 = Instance.new("TextLabel", naeeym2) tecks2.BackgroundTransparency = 1 tecks2.BorderSizePixel = 0 tecks2.Text = "" tecks2.Font = "Fantasy" tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = color tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) tecks2.Size = UDim2.new(1, 0, 0.5, 0) local tecks3 = Instance.new("TextLabel", naeeym2) tecks3.BackgroundTransparency = 1 tecks3.BorderSizePixel = 0 tecks3.Text = "" tecks3.Font = "SciFi" tecks3.TextSize = 30 tecks3.TextStrokeTransparency = 0 tecks3.TextColor3 = Color3.new(0, 0, 0) tecks3.TextStrokeColor3 = color tecks3.Size = UDim2.new(1, 0, 0.5, 0) coroutine.resume(coroutine.create(function() while true do swait(1) tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) tecks2.Rotation = math.random(-5, 5) tecks3.Rotation = math.random(-5, 5) end end)) for i = 1, string.len(text) do CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) tecks2.Text = string.sub(text, 1, i) tecks3.Text = string.sub(text, 1, i) swait(1) end wait(1) local randomrot = math.random(1, 2) if randomrot == 1 then for i = 1, 50 do swait() tecks2.Rotation = tecks2.Rotation - 0.75 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 tecks2.TextTransparency = tecks2.TextTransparency + 0.04 tecks3.Rotation = tecks2.Rotation + 0.75 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 tecks3.TextTransparency = tecks2.TextTransparency + 0.04 end elseif randomrot == 2 then for i = 1, 50 do swait() tecks2.Rotation = tecks2.Rotation + 0.75 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 tecks2.TextTransparency = tecks2.TextTransparency + 0.04 tecks3.Rotation = tecks2.Rotation - 0.75 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 tecks3.TextTransparency = tecks2.TextTransparency + 0.04 end end naeeym2:Destroy() end) chat() end ------------------------------------------------------- --Start Attacks N Stuff-- ------------------------------------------------------- function test() attack = true local gasterblaster = Instance.new("Part",char.Torso) gasterblaster.Size = Vector3.new(7, 16, 4) gasterblaster.CanCollide = true local gasterblastermesh = Instance.new("FileMesh",gasterblaster) gasterblastermesh.MeshId = "rbxassetid://431908407" gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05) local gasterblastertexture = Instance.new("Decal",gasterblaster) gasterblastertexture.Face = "Back" gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828" local weeld = Instance.new("Weld",gasterblaster) weeld.Part0 = gasterblaster weeld.Part1 = char.Torso weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375) char.Head.Anchored = true CreateSound("422747271", char, 2.3, 1) CreateSound("422747271", char, 2.3, 1.1) CreateSound("422747271", char, 2.3, 1.2) CreateSound("422747271", char, 2.3, 1.3) CreateSound("422747271", char, 2.3, 1.4) CreateSound("422747271", char, 2.3, 1.5) CreateSound("422747271", char, 2.3, 1.6) CreateSound("422747271", char, 2.3, 1.7) CreateSound("422747271", char, 2.3, 1.8) CreateSound("422747271", char, 2.3, 1.9) for i = 0, 1, 0.1 do swait() tors.CFrame = FaceMouse()[1] SphereAura(7, 0.12, "Add", gasterblaster.CFrame * CF(0,0,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("White"), 0) SphereAura(7, 0.12, "Add", gasterblaster.CFrame * CF(0,0,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("White"), 0) rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-12.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1) end local Ring1 = Instance.new("Part", gasterblaster) Ring1.Anchored = false Ring1.BrickColor = BrickC("White") Ring1.CanCollide = false Ring1.FormFactor = 3 Ring1.Name = "Ring" Ring1.Material = "Neon" Ring1.Size = Vector3.new(1, 0.05, 1) Ring1.Transparency = 1 Ring1.TopSurface = 0 Ring1.BottomSurface = 0 local Ring1Mesh = Instance.new("SpecialMesh", Ring1) Ring1Mesh.MeshType = "Brick" Ring1Mesh.Name = "SizeMesh" Ring1Mesh.Scale = Vector3.new(0, 1, 0) local InnerRing1 = Ring1:Clone() InnerRing1.Parent = gasterblaster InnerRing1.Transparency = 0 InnerRing1.BrickColor = BrickColor.new("New Yeller") InnerRing1.Size = Vector3.new(1, 1, 1) local InnerRing1Mesh = InnerRing1.SizeMesh InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) InnerRing1Mesh.MeshType = "Sphere" Ring1:Destroy() for i = 0, 5, 0.1 do swait() tors.CFrame = FaceMouse()[1] SphereAura(7, 0.12, "Add", gasterblaster.CFrame * CF(0,0,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("White"), 0) SphereAura(7, 0.12, "Add", gasterblaster.CFrame * CF(0,0,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("White"), 0) rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-12.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1) end InnerRing1.Transparency = 1 InnerRing1.CFrame = tors.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5 CreateSound("340722848", char, 2.3, 1) CreateSound("340722848", char, 2.3, 0.9) CreateSound("340722848", char, 2.3, 0.8) CreateSound("340722848", char, 2.3, 0.7) CreateSound("340722848", char, 2.3, 0.6) CreateSound("340722848", char, 2.3, 0.5) CreateSound("340722848", char, 2.3, 0.4) CreateSound("340722848", char, 2.3, 0.3) CreateSound("340722848", char, 2.3, 0.2) CreateSound("340722848", char, 2.3, 0.1) local a = IT("Part", gasterblaster) a.Name = "Direction" a.Anchored = true a.BrickColor = BrickC("White") a.Material = "Neon" a.Transparency = 0 a.Shape = "Cylinder" a.CanCollide = false local a2 = IT("Part", gasterblaster) a2.Name = "Direction" a2.Anchored = true a2.BrickColor = BrickC("White") a2.Color = BrickC("White").Color a2.Material = "Neon" a2.Transparency = 0.5 a2.Shape = "Cylinder" a2.CanCollide = false local ba = IT("Part", gasterblaster) ba.Name = "HitDirect" ba.Anchored = true ba.BrickColor = BrickC("White") ba.Material = "Neon" ba.Transparency = 1 ba.CanCollide = false local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) local ignore = char local hit, position, normal = workspace:FindPartOnRay(ray, ignore) a.BottomSurface = 10 a.TopSurface = 10 a2.BottomSurface = 10 a2.TopSurface = 10 local distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) game:GetService("Debris"):AddItem(a, 20) game:GetService("Debris"):AddItem(a2, 20) game:GetService("Debris"):AddItem(ba, 20) local msh = Instance.new("SpecialMesh", a) msh.MeshType = "Sphere" msh.Scale = Vector3.new(1, 25, 25) local msh2 = Instance.new("SpecialMesh", a2) msh2.MeshType = "Sphere" msh2.Scale = Vector3.new(1, 30, 30) for i = 0, 10, 0.1 do swait() tors.CFrame = FaceMouse()[1] a2.Color = BrickC("White").Color InnerRing1.CFrame = gasterblaster.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) hit, position, normal = workspace:FindPartOnRay(ray, ignore) distance = (InnerRing1.CFrame.p - position).magnitude a.Size = Vector3.new(distance, 1, 1) a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) a2.Size = Vector3.new(distance, 1, 1) a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) a.CFrame = a.CFrame * angles(0, Rad(90), 0) a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25) msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3) SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, BrickC("White"), 0) SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, BrickC("White"), 0) for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do if v:FindFirstChild("Head") then Eviscerate(v) end end end CreateSound("422747271", char, 2.3, 0.6) a:Destroy() a2:Destroy() ba:Destroy() InnerRing1:Destroy() gasterblaster:Remove() char.Head.Anchored = false attack = false hum.WalkSpeed = 10 end function gasterblaster() attack = true local gasterblaster = Instance.new("Part",char.Torso) gasterblaster.Size = Vector3.new(7, 16, 4) gasterblaster.CanCollide = false local gasterblastermesh = Instance.new("FileMesh",gasterblaster) gasterblastermesh.MeshId = "rbxassetid://431908407" gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05) local gasterblastertexture = Instance.new("Decal",gasterblaster) gasterblastertexture.Face = "Back" gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828" local weeld = Instance.new("Weld",gasterblaster) weeld.Part0 = gasterblaster weeld.Part1 = char.Torso weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375) CreateSound("446961725", char, 2.3, 1) attack = false gasterblaster:Remove() end function gasterblasteraway() attack = true local gasterblaster = Instance.new("Part",char.Torso) gasterblaster.Size = Vector3.new(7, 16, 4) gasterblaster.CanCollide = false local gasterblastermesh = Instance.new("FileMesh",gasterblaster) gasterblastermesh.MeshId = "rbxassetid://431908407" gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05) local gasterblastertexture = Instance.new("Decal",gasterblaster) gasterblastertexture.Face = "Back" gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828" local weeld = Instance.new("Weld",gasterblaster) weeld.Part0 = gasterblaster weeld.Part1 = char.Torso weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375) gasterblaster.Transparency = 0.1 wait(0.1) gasterblaster.Transparency = 0.2 wait(0.1) gasterblaster.Transparency = 0.3 wait(0.1) gasterblaster.Transparency = 0.4 wait(0.1) gasterblaster.Transparency = 0.5 wait(0.1) gasterblaster.Transparency = 0.6 wait(0.1) gasterblaster.Transparency = 0.7 wait(0.1) gasterblaster.Transparency = 0.8 wait(0.1) gasterblaster.Transparency = 0.9 wait(0.1) gasterblaster.Transparency = 1 wait(0.1) gasterblaster:Remove() CreateSound("446961725", char, 2.3, 0.9) attack = false hum.WalkSpeed = 40 end function ByeBye() local target = nil local targettorso = nil if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then if mouse.Target.Parent.Humanoid.PlatformStand == false then target = mouse.Target.Parent.Humanoid targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") targethead = mouse.Target.Parent:FindFirstChild("Head") end end if target ~= nil then targettorso.Anchored = false attack = true hum.WalkSpeed = 0 local re = Instance.new("ReverbSoundEffect") re.DecayTime = 100 re.Density = 10000 re.Diffusion = 100 re.DryLevel = 1.5 re.WetLevel = 10 re.Parent = Cso("607088436", hed, 1, 1) Cso("607088436", hed, 1, 1) for i = 0,4.2,0.1 do swait() rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 4.7* Player_Size) * angles(Rad(0), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 1) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(-0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(14), Rad(0), Rad(0)), 1) RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(0 - 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(0 + 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) end wait(0,7) targethead:Remove() for i = 0,6.2,0.1 do swait() rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 4.7* Player_Size) * angles(Rad(0), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 1) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(-0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 1) RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(0 - 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(0 + 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) end targettorso.Anchored = false attack = false hum.WalkSpeed = 14 end end function Grab() grabbing = true local hit = mouse.Target if hit.Parent == Character then return end local GUI = Instance.new("BillboardGui",hit.Parent.HumanoidRootPart) GUI.Size = UDim2.new(2,0,2,0) GUI.MaxDistance = "inf" GUI.AlwaysOnTop = true GUI.ExtentsOffset = Vector3.new(0,0,0) local Body = Instance.new("ImageLabel",GUI) Body.Position = UDim2.new(0,0,0,0) Body.Image = "rbxassetid://485845439" Body.BackgroundTransparency = 1 Body.ImageTransparency = 0 Body.Size = UDim2.new(1,0,1,0) local grabfire = Instance.new("Fire",hit.Parent.HumanoidRootPart) grabfire.Size = 2 grabfire.Heat = 0 grabfire.Color = Color3.new(0,0,255) grabfire.SecondaryColor = Color3.new(0,250,255) local bodyp=Instance.new("BodyPosition",hit.Parent.HumanoidRootPart) bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge) while grabbing == true do bodyp.Position= mouse.Hit.p swait() end grabfire:Destroy() bodyp:Destroy() GUI:Destroy() end function Squating() attack = true BTAUNT:Stop() BTAUNT3:Play() repeat for i = 0,0.7,0.2 do swait() BTAUNT3.Parent = tors rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) end for i = 0,0.7,0.2 do swait() BTAUNT3.Parent = tors rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0.2 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-5)), 0.1) end until BTAUNT3.Playing == false BTAUNT3:Stop() BTAUNT:Play() attack = false hum.WalkSpeed = 16 end ----------------------------------- local ea = 1 function Attack() attack = true local ea = 1 hold = true M2.MeshId = "rbxassetid://4684264822" M2.TextureId = "rbxassetid://4684264848" for i = 0, 1.5, 0.1 do swait() SpareWeld.C1 = CFrame.new(2, 1, 0) SpareWeld.C0 = CFrame.Angles(Rad(1.5),1.5,1.5) rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-60)), 0.2) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0* Player_Size, 0* Player_Size, 0* Player_Size + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.2) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13)), 0.2) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) end BTAUNT99:Play() local hit1 = Blobby.Touched:connect(function(hit) local dud = hit.Parent local bro = hit.Parent:FindFirstChild("Torso") if dud ~= char then for i,v in pairs (dud:children()) do if v:IsA("Humanoid") then v.Health = v.Health - 5 v.Sit = true local Fl = Instance.new("BodyVelocity",bro) Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) Fl.velocity = bro.CFrame.lookVector*70 wait(0.3) Fl:remove() end end end end) repeat for i = 0, 3, ea do swait() ea = ea + 1 SpareWeld.C1 = clerp(SpareWeld.C1, CF(0,1 + ea, 0.7) * angles(Rad(0), Rad(0), Rad(0)), 1) --SpareWeld.C1 = CFrame.new(0,-mouse.Hit.p, 0.7) SpareWeld.C0 = CFrame.Angles(Rad(0),0,0) rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(0)), 0.3) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0* Player_Size, 0* Player_Size, 0* Player_Size + ((1* Player_Size) - 1)) * angles(Rad(-20), Rad(0), Rad(0)), 1) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-.6), Rad(30)), 0.3) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(0), Rad(0 - 0 * Sin(sine / 20))), 0.3) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.5* Player_Size, 0* Player_Size) * RHCF * angles(Rad(0), Rad(0), Rad(0)), 0.3) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.5* Player_Size, 0* Player_Size) * LHCF * angles(Rad(0), Rad(-0), Rad(40)), 0.3) end until hold == false BTAUNT99:Stop() M2.MeshId = "rbxassetid://0" M2.TextureId = "rbxassetid://4684264848" SpareWeld.C1 = CFrame.new(1.3, 1, 0) SpareWeld.C0 = CFrame.Angles(Rad(1.5),1.5,1.5) hit1:disconnect() attack = false local ea = 1 end --------------------------- function jumpscare() attack = true Cso("2050521810", tors, 10, 1) hum.WalkSpeed = 0 for i = 0, 1, 0.1 do swait() rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(20), Rad(0), Rad(0)), 0.1) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 6.5 * Sin(sine / 12)), Rad(20), Rad(Mrandom(-15, 25))), 0.1) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 + 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(20)), 0.1) LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.9 + 0.15 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(-20)), 0.1) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.7 + 0.05 * Sin(sine / 30)* Player_Size, 0.34) * angles(Rad(-65), Rad(Mrandom(-15, 25)), Rad(13) - ra.RotVelocity.Y / 75), 0.15) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.7 + 0.05 * Sin(sine / 30)* Player_Size, -0.34) * angles(Rad(-65), Rad(Mrandom(-15, 25)), Rad(-13) + la.RotVelocity.Y / 75), 0.15) end for i, v in pairs(FindNearestHead(hed.CFrame.p, 10.25)) do if v:FindFirstChild("Head") then Eviscerate(v) end end for i = 0,20,0.1 do swait() rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.7 * Player_Size) * angles(Rad(30), Rad(0), Rad(0)), 0.1) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 6.5 * Sin(sine / 12)), Rad(30), Rad(Mrandom(-45, 25))), 0.1) RH.C0 = clerp(RH.C0, CF(1* Player_Size, 0.07 * Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(35)), 0.1) LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, 0.07 * Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(-30)), 0.1) RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.7 + 0.05 * Sin(sine / 30)* Player_Size, 0.34) * angles(Rad(-75), Rad(Mrandom(-35, 35)), Rad(13) - ra.RotVelocity.Y / 75), 0.15) LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.7 + 0.05 * Sin(sine / 30)* Player_Size, 0.34) * angles(Rad(-75), Rad(Mrandom(-35, 35)), Rad(13) - ra.RotVelocity.Y / 75), 0.15) end attack = false hum.WalkSpeed = 10 end ------------------------------------------------------- --End Attacks N Stuff-- ------------------------------------------------------- mouse.KeyDown:connect(function(key) if attack == false then if key == "e" then --gasterblasteraway() elseif key == 'q' then --gasterblaster() elseif key == 'x' then ByeBye() elseif key == 'r' then local re = Instance.new("ReverbSoundEffect") re.DecayTime = 100 re.Density = 10000 re.Diffusion = 100 re.DryLevel = 1.5 re.WetLevel = 10 re.Parent = Cso("4662452515", hed, 1, 1) elseif key == 'z' then local re = Instance.new("ReverbSoundEffect") re.DecayTime = 100 re.Density = 10000 re.Diffusion = 100 re.DryLevel = 1.5 re.WetLevel = 10 re.Parent = Cso("5118226835", hed, 1, 1) end end end) ------------------------------------------------------- --Start Damage Function-- ------------------------------------------------------- function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Brick" if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end local scaler2 = 1 local speeder = FastSpeed/10 if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end speeder = speeder - 0.01*FastSpeed*bonuspeed/10 rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed rng.Transparency = rng.Transparency + 0.01*bonuspeed end rng:Destroy() end)) end function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) if hit.Parent == nil then return end local h = hit.Parent:FindFirstChildOfClass("Humanoid") for _, v in pairs(hit.Parent:children()) do if v:IsA("Humanoid") then h = v end end if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then hit.Parent:FindFirstChild("Head"):BreakJoints() end if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then if hit.Parent:findFirstChild("DebounceHit") ~= nil then if hit.Parent.DebounceHit.Value == true then return end end if insta == true then hit.Parent:FindFirstChild("Head"):BreakJoints() end local c = Create("ObjectValue"){ Name = "creator", Value = owner, Parent = h, } game:GetService("Debris"):AddItem(c, .5) if HitSound ~= nil and HitPitch ~= nil then CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) end local Damage = math.random(minim, maxim) local blocked = false local block = hit.Parent:findFirstChild("Block") if block ~= nil then if block.className == "IntValue" then if block.Value > 0 then blocked = true block.Value = block.Value - 1 print(block.Value) end end end if blocked == false then h.Health = h.Health - Damage ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) else h.Health = h.Health - (Damage / 2) ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) end if Type == "Knockdown" then local hum = hit.Parent.Humanoid hum.PlatformStand = true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand = false end), hum) local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit local bodvol = Create("BodyVelocity"){ velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } local rl = Create("BodyAngularVelocity"){ P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit, } game:GetService("Debris"):AddItem(bodvol, .5) game:GetService("Debris"):AddItem(rl, .5) elseif Type == "Normal" then local vp = Create("BodyVelocity"){ P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, } if knockback > 0 then vp.Parent = hit.Parent.Torso end game:GetService("Debris"):AddItem(vp, .5) elseif Type == "Up" then local bodyVelocity = Create("BodyVelocity"){ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } game:GetService("Debris"):AddItem(bodyVelocity, .5) elseif Type == "DarkUp" then coroutine.resume(coroutine.create(function() for i = 0, 1, 0.1 do swait() Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) end end)) local bodyVelocity = Create("BodyVelocity"){ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8e+003, 8e+003, 8e+003), Parent = hit, } game:GetService("Debris"):AddItem(bodyVelocity, 1) elseif Type == "Snare" then local bp = Create("BodyPosition"){ P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso, } game:GetService("Debris"):AddItem(bp, 1) elseif Type == "Freeze" then local BodPos = Create("BodyPosition"){ P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso, } local BodGy = Create("BodyGyro") { maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , P = 20e+003, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame, } hit.Parent.Torso.Anchored = true coroutine.resume(coroutine.create(function(Part) swait(1.5) Part.Anchored = false end), hit.Parent.Torso) game:GetService("Debris"):AddItem(BodPos, 3) game:GetService("Debris"):AddItem(BodGy, 3) end local debounce = Create("BoolValue"){ Name = "DebounceHit", Parent = hit.Parent, Value = true, } game:GetService("Debris"):AddItem(debounce, Delay) c = Create("ObjectValue"){ Name = "creator", Value = Player, Parent = h, } game:GetService("Debris"):AddItem(c, .5) end end function damage(range,mindam,maxdam,pos) for i,v in ipairs(workspace:GetChildren()) do if v:IsA("Model") then if v.Name ~= Player.Name then if v:FindFirstChildOfClass("Humanoid") then if v:FindFirstChild("Head") then if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam) end end end end end end end end ------------------------------------------------------- --End Damage Function-- ------------------------------------------------------- ------------------------------------------------------- --Start Animations-- ------------------------------------------------------- print("By Makhail07") coroutine.wrap(function() while true do swait() sine = sine + change local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude local velderp = root.Velocity.y hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) if equipped == true or equipped == false then if attack == false then idle = idle + 1 else idle = 0 end if 1 < root.Velocity.y and hitfloor == nil then Anim = "Jump" if attack == false then rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17) neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) end elseif -1 > root.Velocity.y and hitfloor == nil then Anim = "Fall" if attack == false then rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) end elseif torvel < 1 and hitfloor ~= nil then Anim = "Idle" change = 1 if attack == false then rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 4.7* Player_Size) * angles(Rad(0), Rad(0 - 0 * Sin(sine / 24)), Rad(0)), 1) neck.C0 = clerp(neck.C0, necko* CF(-0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 1) RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(0 - 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.01 * Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(0 + 0 * Sin(sine / 24)), Rad(0), Rad(0)), 1) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 16)* Player_Size, 0* Player_Size) * angles(Rad(0.5), Rad(0), Rad(0 + 0 * Sin(sine / 16))), 1) end elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then Anim = "Walk" change = 1 if attack == false then rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 4.7*Player_Size + 0.51 * Cos(sine / 10.5) + -Sin(sine / 10.5) / 77* Player_Size) * angles(Rad(5 - 0 * Cos(sine / 10.5)), Rad(-1 * Cos(sine / 28)) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 28))), 0.6) neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 2.5 * Cos(sine / 10.5)), Rad(1 * Cos(sine / 6.9)), Rad(0)) * angles(Rad(0 - 2.5 * Cos(sine / 36)), Rad(0), Rad(-5 * Cos(sine / 28))), 0.6) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1* Player_Size - 0.5 * Cos(sine / 28) / 2* Player_Size, 0.6 * Cos(sine / 7) / 3) * angles(Rad(-10 - 25 * Cos(sine / 28)) - rl.RotVelocity.Y / 95 + -Sin(sine / 28) / 2.5, Rad(90 - 0 * Cos(sine / 28)), Rad(0)) * angles(Rad(0 + 0 * Cos(sine / 7)), Rad(0), Rad(0)), 0.6) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1* Player_Size + 0.5 * Cos(sine / 28) / 2* Player_Size, -0.6 * Cos(sine / 28) / 3) * angles(Rad(-10 + 25 * Cos(sine / 28)) + ll.RotVelocity.Y / 95 + Sin(sine / 28) / 2.5, Rad(-90 - 0 * Cos(sine / 28)), Rad(0)) * angles(Rad(0 - 0 * Cos(sine / 28)), Rad(0), Rad(-0)), 0.6) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3* Player_Size, -0.2 * Cos(sine / 28)) * ANGLES(RAD(0), RAD(0), RAD(5)) * ANGLES(RAD(30 * Cos(sine / 28)), RAD(0), RAD(0)), 0.6) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3* Player_Size, 0.2 * Cos(sine / 28)) * ANGLES(RAD(0), RAD(0), RAD(-5)) * ANGLES(RAD(-30 * Cos(sine / 28)), RAD(0), RAD(0)), 0.6) end elseif torvel >= 25 and hitfloor ~= nil then Anim = "Sprint" change = 1.35 if attack == false then rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(23 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(0) - ra.RotVelocity.Y / 75), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(0) + la.RotVelocity.Y / 75), 0.1) end end end if 0 < #Effects then for e = 1, #Effects do if Effects[e] ~= nil then local Thing = Effects[e] if Thing ~= nil then local Part = Thing[1] local Mode = Thing[2] local Delay = Thing[3] local IncX = Thing[4] local IncY = Thing[5] local IncZ = Thing[6] if 1 >= Thing[1].Transparency then if Thing[2] == "Block1" then Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) local Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Block2" then Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) local Mesh = Thing[7] Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Block3" then Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) local Mesh = Thing[7] Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Cylinder" then local Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Blood" then local Mesh = Thing[7] Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Disappear" then Thing[1].Transparency = Thing[1].Transparency + Thing[3] elseif Thing[2] == "Shatter" then Thing[1].Transparency = Thing[1].Transparency + Thing[3] Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) Thing[6] = Thing[6] + Thing[5] end else Part.Parent = nil table.remove(Effects, e) end end end end end end end)() ----------------------------------------------------- end oldPos = root.CFrame owner.Changed:connect(function(change) if change == "Character" then if owner.Character ~= nil then wait() print("Respawned") loadCharacter() end end end) owner:LoadCharacter()
Editor Settings
Theme
Key bindings
Full width
Lines