Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
- ----God of shapes created by Father_Heaven
- --using shackluster scripts--
- --More added by XDavodioX--
- --That includes--
- --Name
- --Smite
- --The Gui
- --Teleport
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- function NS(...)
- local tab = {...}
- local fat = {}
- for i = 1, #tab do
- local v = tab[i]
- table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
- end
- return NumberSequence.new(fat);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter1 = Instance.new("ParticleEmitter")
- ParticleEmitter2 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Name = "Flames"
- ParticleEmitter0.Parent = mas
- ParticleEmitter0.Speed = NumberRange.new(0, 15)
- ParticleEmitter0.Rotation = NumberRange.new(0, 360)
- ParticleEmitter0.Enabled = false
- ParticleEmitter0.LightEmission = 1
- ParticleEmitter0.LightInfluence = 1
- ParticleEmitter0.Transparency = NumberSequence.new(1,0)
- ParticleEmitter0.ZOffset = 1
- ParticleEmitter0.Size = NumberSequence.new(10,0)
- ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
- ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
- ParticleEmitter0.Rate = 9999
- ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
- ParticleEmitter0.VelocitySpread = 25
- ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
- ParticleEmitter1.Name = "Death"
- ParticleEmitter1.Parent = mas
- ParticleEmitter1.Rotation = NumberRange.new(0, 360)
- ParticleEmitter1.Enabled = false
- ParticleEmitter1.LightEmission = 0.75
- ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
- ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
- ParticleEmitter1.ZOffset = 0.5
- ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
- ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
- ParticleEmitter1.Drag = 5
- ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
- ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
- ParticleEmitter1.Rate = 999
- ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
- ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter1.VelocitySpread = 360
- ParticleEmitter2.Name = "Wing"
- ParticleEmitter2.Parent = mas
- ParticleEmitter2.Rotation = NumberRange.new(0, 360)
- ParticleEmitter2.Enabled = false
- ParticleEmitter2.LightEmission = 1
- ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
- ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
- ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
- ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
- ParticleEmitter2.LockedToPart = true
- ParticleEmitter2.Rate = 300
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.L then
- local q = game.Players:GetChildren() for i = 1, #q do if q[i].Character.Parent ~= workspace and q[i].Parent ~= nil then q[i].Character.Parent = workspace local sound2 = Instance.new("Sound",workspace) sound2.SoundId = "rbxassetid://245910488" sound2.Volume = 5 sound2:Play() end end end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- Neck = Torso["Neck"]
- wait(1)
- local createstuff = function()
- local stuff = Instance.new("Model")
- local ParticleBox = Instance.new("Part")
- stuff.Name = "Stuff"
- stuff.Parent = workspace
- ParticleBox.Size = Vector3.new(10, 10, 10)
- ParticleBox.BottomSurface = Enum.SurfaceType.Smooth
- ParticleBox.Material = Enum.Material.SmoothPlastic
- ParticleBox.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- ParticleBox.BrickColor = BrickColor.new("Really black")
- ParticleBox.TopSurface = Enum.SurfaceType.Smooth
- ParticleBox.Name = "ParticleBox"
- ParticleBox.Parent = stuff
- ParticleBox.CFrame = CFrame.new(9.8, 44.1, -48.7)
- ParticleBox.Transparency = 1
- local headness = Instance.new("Part")
- headness.Parent = stuff
- headness.Name = ("headness")
- headness.Size = Vector3.new(2,1,1)
- headness.Transparency = 0.5
- headness.Material = ("Neon")
- headness.BrickColor = BrickColor.new("Navy blue")
- headness.CanCollide = false
- local Blockhead = Instance.new("BlockMesh")
- Blockhead.Name = ("Blockhead")
- Blockhead.Offset = Vector3.new(0,-0.45,0)
- Blockhead.Scale = Vector3.new(0.56,1.1,1.1)
- Blockhead.Parent = stuff
- local MajesticGlow = Instance.new("PointLight")
- MajesticGlow.Color = Color3.new(6/225,6/255,159/255)
- MajesticGlow.Range = 25
- MajesticGlow.Shadows = false
- MajesticGlow.Brightness = 1
- MajesticGlow.Name = ("MajesticGlow")
- MajesticGlow.Parent = stuff
- for i,v in pairs(stuff:GetChildren()) do
- v.Parent = script
- end
- end
- createstuff()
- wait(1)
- Player = game:GetService("Players").LocalPlayer
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- 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"]
- local sick = Instance.new("Sound",Character)
- Player_Size = 1
- 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
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 35
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- local Effects = IT("Folder", Character)
- Effects.Name = "Effects"
- local SKILLTEXTCOLOR = C3(0,1,0)
- local remember = coroutine.wrap(function()
- while true do
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("Folder") then
- Effects = c
- end
- end
- wait()
- end
- end)
- remember()
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local UNANCHOR = true
- local PLAYSONG = true
- local EXTRATRANS = 0
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --|| Nameing crep ||
- --\\=================================//
- m = game.Players.LocalPlayer
- char = m.Character
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 1
- text.Font = "Arcade"
- text.TextStrokeColor3 = Color3.new(0, 0, 0)
- v = Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent = m.Character
- v.FormFactor = "Symmetric"
- v.Anchored = true
- v.CanCollide = false
- v.BottomSurface = "Smooth"
- v.TopSurface = "Smooth"
- v.Size = Vector3.new(10, 5, 3)
- v.Transparency = 1
- v.CFrame = char.Torso.CFrame
- v.BrickColor = BrickColor.new("Really black")
- v.Transparency = 1
- v.Shape = "Block"
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Int = 0
- while wait(0.5) do
- if Int == #Colours then Int = 0 end
- Int = Int+1
- TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
- end
- end)
- text.Text = "God of Shapes"
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- 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
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- 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 m11 > m00 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 >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = 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
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = 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
- 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 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 CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,-SIZE.X/8)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,-SIZE.X/8)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- mesh.Scale = SIZE
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "Sphere"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,0)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- wave.Transparency = wave.Transparency + (1/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- -------------------------------------------
- ------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------
- local headness = script.headness
- headness.Parent = Character
- headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
- weldBetween(Head,headness)
- local Blockhead = script.Blockhead
- Blockhead.Parent = headness
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:Remove()
- end
- if c == Head then
- if c:FindFirstChild("face") then
- c.face:remove()
- end
- end
- elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic"then
- c:remove()
- end
- end
- local BODY = {}
- for _, c in pairs(Character:GetDescendants()) do
- if c:IsA("BasePart") and c.Name ~= "Handle" then
- if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
- elseif c:IsA("JointInstance") then
- table.insert(BODY,{c,c.Parent,nil,nil,nil})
- elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
- c:remove()
- end
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:Connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- function refit()
- Character.Parent = workspace
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART:IsA("BasePart") and PART ~= RootPart then
- end
- if PART.Parent ~= PARENT then
- Humanoid:remove()
- PART.Parent = PARENT
- Humanoid = IT("Humanoid",Character)
- end
- end
- end
- end
- Humanoid.Died:connect(function()
- for _, c in pairs(Character:GetChildren()) do
- c:Remove()
- local headness = script.headness
- headness.Parent = Character
- headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
- weldBetween(headness,Head)
- local Blockhead = script.Blockhead
- Blockhead.Parent = headness
- end
- refit()
- createstuff()
- end)
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- --local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
- local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Change to Cube", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[R] Change to Explosion", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[F] Rainbow Smite", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text4")
- --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] Rainbow Nuke (NOT WORKING UGH)", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text5")
- --local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[] ", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text6")
- local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Cube of Rainbow", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text7")
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Colourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Intt = 0
- while wait(0.5) do
- if Intt == #Colourss then Intt = 0 end
- Intt = Intt+1
- TweenService:Create(SKILL7TEXT,TweenInfo.new(1),{TextColor3 = Colourss[Intt]}):Play()
- end
- end)
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Coloursss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Inttt = 0
- while wait(0.5) do
- if Inttt == #Coloursss then Inttt = 0 end
- Inttt = Inttt+1
- TweenService:Create(SKILL4TEXT,TweenInfo.new(1),{TextColor3 = Coloursss[Inttt]}):Play()
- end
- end)
- --spawn(function()
- --local TweenService = game:GetService("TweenService")
- --local Clourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- --local Itt = 0
- --while wait(0.5) do
- -- --if Itt == #Clourss then Itt = 0 end
- -- --Itt = Itt+1
- -- --TweenService:Create(SKILL5TEXT,TweenInfo.new(1),{TextColor3 = Clourss[Itt]}):Play()
- --end
- --end)
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Clouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Itlt = 0
- while wait(0.5) do
- if Itlt == #Clouurss then Itlt = 0 end
- Itlt = Itlt+1
- TweenService:Create(SKILL1TEXT,TweenInfo.new(1),{TextColor3 = Clouurss[Itlt]}):Play()
- end
- end)
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Cloouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Ixtlt = 0
- while wait(0.5) do
- if Ixtlt == #Cloouurss then Ixtlt = 0 end
- Ixtlt = Ixtlt+1
- TweenService:Create(SKILL2TEXT,TweenInfo.new(1),{TextColor3 = Cloouurss[Ixtlt]}):Play()
- end
- end)
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Cllouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Itplt = 0
- while wait(0.5) do
- if Itplt == #Cllouurss then Itplt = 0 end
- Itplt = Itplt+1
- TweenService:Create(SKILL3TEXT,TweenInfo.new(1),{TextColor3 = Cllouurss[Itplt]}):Play()
- end
- end)
- local r = 255
- local g = 0
- local b = 0
- local random3 = coroutine.wrap(function()
- while true do
- for i = 0, 254/5 do
- Swait()
- g = g + 5
- end
- for i = 0, 254/5 do
- Swait()
- r = r - 5
- end
- for i = 0, 254/5 do
- Swait()
- b = b + 5
- end
- for i = 0, 254/5 do
- Swait()
- g = g - 5
- end
- for i = 0, 254/5 do
- Swait()
- r = r + 5
- end
- for i = 0, 254/5 do
- Swait()
- b = b - 5
- end
- Swait()
- end
- end)
- random3()
- local r1 = r
- local g1 = g
- local b1 = b
- local RainbowEffect = coroutine.wrap(function()
- while true do
- Swait()
- r1 = r
- g1 = g
- b1 = b
- end
- end)
- function WACKYEFFECT(Table)
- local TYPE = Table.EffectType or "Sphere"
- local SIZE = Table.Size or VT(1, 1, 1)
- local ENDSIZE = Table.Size2 or VT(0, 0, 0)
- local TRANSPARENCY = Table.Transparency or 0
- local ENDTRANSPARENCY = Table.Transparency2 or 1
- local CFRAME = Table.CFrame or Torso.CFrame
- local MOVEDIRECTION = Table.MoveToPos or nil
- local ROTATION1 = Table.RotationX or 0
- local ROTATION2 = Table.RotationY or 0
- local ROTATION3 = Table.RotationZ or 0
- local MATERIAL = Table.Material or "Neon"
- local COLOR = Table.Color or C3(r1/255,g1/255, b1/255)
- RainbowEffect()
- local TIME = Table.Time or 45
- local SOUNDID = Table.SoundID or nil
- local SOUNDPITCH = Table.SoundPitch or nil
- local SOUNDVOLUME = Table.SoundVolume or nil
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- local colorss = coroutine.wrap(function()
- for i = 0,50,1 do
- Swait()
- EFFECT.Color = Color3.new(r1/255,g1/255, b1/255)
- end
- end)
- colorss()
- local MSH
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh", EFFECT)
- MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
- end
- if MSH ~= nil then
- local MOVESPEED
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME + 1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH / TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
- else
- EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat
- Swait()
- until SOUND.Playing == false
- EFFECT:remove()
- end
- elseif PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat
- Swait()
- until SOUND.Playing == false
- EFFECT:remove()
- end
- end))
- end
- 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, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- 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
- local DParticles = script.Death
- DParticles:remove()
- DParticles.Name = "ArchangelDeathParticles"
- function MakeForm(PART, TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh", PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh", PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh", PART)
- MSH.MeshType = "Wedge"
- end
- end
- Debris = game:GetService("Debris")
- local DECAL = IT("Decal")
- function MakeRing()
- local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
- local MSH = IT("BlockMesh", RING)
- local TOP = DECAL:Clone()
- local BOTTOM = DECAL:Clone()
- TOP.Parent = RING
- BOTTOM.Parent = RING
- TOP.Face = "Top"
- BOTTOM.Face = "Bottom"
- TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
- BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
- local function REMOVE()
- coroutine.resume(coroutine.create(function()
- local SIZE = MSH.Scale.X
- for i = 1, 35 do
- Swait()
- MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
- TOP.Transparency = TOP.Transparency + 0.02857142857142857
- BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
- end
- RING:remove()
- end))
- end
- return RING, MSH, REMOVE
- end
- function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
- local TORSO = Torso
- local HUM = Humanoid
- if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
- coroutine.wrap(function()
- VT = Vector3.new
- MRANDOM = math.random
- local A = TIME
- local B = INTENSITY
- local C = true
- local HUMANOID = Humanoid
- local TIMER = A or 35
- local SHAKE = B or 5
- local FADE = C or true
- if HUMANOID then
- local FADER = SHAKE / TIMER
- for i = 1, TIMER do
- wait()
- HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
- end
- HUMANOID.CameraOffset = VT(0, 0, 0)
- end
- end)()
- end
- end
- function KillChildren(v)
- v:BreakJoints()
- for _, c in pairs(v:GetChildren()) do
- if c:IsA("BasePart") then
- if c.Transparency < 1 then
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal"):remove()
- end
- particles(c)
- c.PE.Enabled = true
- c.Parent = Effects
- c.CanCollide = false
- c.Material = "Neon"
- c.Color = C3(1,1,1)
- c.Transparency = 1
- local grav = Instance.new("BodyPosition",c)
- grav.P = 20000
- grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
- grav.Name = "GravityForce"
- coroutine.resume(coroutine.create(function()
- for i = 1, 20 do
- Swait()
- c.Transparency = c.Transparency + 1/20
- end
- c.PE.Enabled = false
- Debris:AddItem(c,2)
- end))
- end
- end
- end
- end
- function killnearest(position,range,maxstrength)
- for i,v in ipairs(workspace:GetChildren()) do
- local body = v:GetChildren()
- for part = 1, #body do
- if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
- if(body[part].Position - position).Magnitude < range then
- if v.ClassName == "Model" then
- v:BreakJoints()
- end
- --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
- body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
- end
- end
- end
- if v.ClassName == "Part" then
- if v.Anchored == false and (v.Position - position).Magnitude < range then
- --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
- v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
- end
- end
- end
- end
- function ApplyAoE(POSITION, RANGE)
- local PARTS = {}
- for index, CHILD in pairs(workspace:GetDescendants()) do
- if CHILD.ClassName == "Model" and CHILD ~= Character then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
- CHILD:BreakJoints()
- for index, PART in pairs(CHILD:GetChildren()) do
- if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
- local P = DParticles:Clone()
- P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
- table.insert(PARTS, {PART, P})
- end
- end
- end
- end
- elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
- local FOLDER = IT("Folder", CHILD)
- FOLDER.Name = "ewdfrfgrwefd"
- local P = DParticles:Clone()
- CHILD.Velocity = Vector3.new(math.huge,math.huge,math.huge)
- P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
- P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
- table.insert(PARTS, {CHILD, P})
- end
- end
- coroutine.resume(coroutine.create(function()
- if #PARTS > 0 then
- for i = 1, 85 do
- Swait()
- for E = 1, #PARTS do
- local F = PARTS[E]
- local A = F[1]
- local B = F[2]
- A.Transparency = A.Transparency + 0.011764705882352941
- B.Rate = math.ceil(B.Rate * 1.2)
- for index, E in pairs(A:GetChildren()) do
- end
- end
- end
- for E = 1, #PARTS do
- local F = PARTS[E]
- local A = F[1]
- local B = F[2]
- B.Enabled = false
- Debris:AddItem(A, 3)
- end
- end
- end))
- end
- function AntiTimeStop()
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("Part") and c ~= RootPart then
- c.Anchored = false
- end
- end
- if UNANCHOR == true then
- RootPart.Anchored = false
- else
- RootPart.Anchored = true
- end
- end
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- local cR=255
- local cG=0
- local cB=0
- local flg5=1 local omgidk=1
- local add=7.5
- game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
- if omgidk>10000 then omgidk=0 end
- omgidk=omgidk+1
- if cR>=255 then flg5=1 end
- if cG>=255 then flg5=2 end
- if cB>=255 then flg5=3 end
- if flg5==1 then cR=cR-add cG=cG+add end
- if flg5==2 then cG=cG-add cB=cB+add end
- if flg5==3 then cB=cB-add cR=cR+add end
- color=Color3.fromRGB(cR,cG,cB)
- end)
- --------------------------------------------------\\\\
- -- ATTACKS ||||
- --------------------------------------------------////
- function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
- coroutine.resume(coroutine.create(function()
- local METEOR = IT("Model",Effects)
- METEOR.Name = "Meteorite"
- local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
- METEOR.PrimaryPart = CENTER
- local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
- PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- for i = 1, 15 do
- local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
- FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- end
- if ISDEBREE ~= true then
- METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- else
- METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- end
- local IMPACT = false
- CreateSound(463593339, CENTER, 10, 0.6)
- if SIZE >= 3.5 then
- for i = 1, MRANDOM(3,7) do
- SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
- end
- end
- for i = 1, 200 do
- Swait()
- local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
- if HITFLOOR == nil then
- local ORI = CENTER.Orientation
- METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- else
- if HITFLOOR.Anchored == true then
- CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
- CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
- end
- IMPACT = true
- break
- end
- end
- if IMPACT == true then
- WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
- ApplyAoE(CENTER.Position,30*SIZE)
- end
- METEOR:remove()
- end))
- end
- function SpawnSmite(POS)
- local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
- local EMITPOS = HITPOS
- if HITFLOOR ~= nil then
- if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
- HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
- EMITPOS = HITPOS
- elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
- EMITPOS = HITPOS
- end
- end
- if HITFLOOR ~= nil then
- ApplyAoE(EMITPOS,10)
- WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- for i = 1, 5 do
- local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
- WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
- end
- end
- end
- function Meteor()
- local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
- if DIST > 180 then
- DIST = 180
- end
- local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
- local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
- if HITFLOOR then
- local POS = HITPOS
- ATTACK = true
- Rooted = true
- local WARPED = false
- local SMASHED = false
- local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until WARPED == true
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until SMASHED == true
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- end))
- VALUE1 = true
- CreateSound(233856115, Torso, 5, 1.6, false)
- for i = 1, 25 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + 1/25
- end
- end
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + 1/25
- end
- end
- end
- UNANCHOR = false
- RootPart.Anchored = true
- RootPart.Velocity = VT(0,0,0)
- local ROOTPOS = RootPart.Position
- RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
- WARPED = true
- for i = 1, 25 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 0/25
- end
- end
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 1/25
- end
- end
- end
- local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Color3.fromRGB(cR,cG,cB)", "Part", VT(0,0,0))
- SHELL.CFrame = RootPart.CFrame
- MakeForm(SHELL,"Ball")
- CreateSound(402981977, SHELL, 5, 1.6, false)
- for i = 1, 10 do
- Swait()
- SHELL.Transparency = SHELL.Transparency - 0
- SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
- end
- for i = 1, math.ceil(75/2) do
- Swait()
- RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
- SHELL.CFrame = CF(RootPart.Position)
- WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- end
- RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
- SHELL.CFrame = CF(RootPart.Position)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- SHELL:remove()
- ApplyAoE(RootPart.Position,75,35,75,175,false)
- SMASHED = true
- wait(1)
- VALUE1 = false
- UNANCHOR = true
- ATTACK = false
- Rooted = false
- end
- end
- function Click()
- ATTACK = true
- Rooted = false
- local HIT = nil
- OFFSET = -45
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- end
- OFFSET = 45
- local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
- PUNCH.CanCollide = true
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
- TAUNT = true
- local TOUCH = PUNCH.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- HIT = hit.Parent
- end
- end)
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
- if HIT ~= nil then
- break
- end
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- end
- PUNCH:remove()
- TOUCH:disconnect()
- if HIT ~= nil then
- for _, c in pairs(HIT:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = true
- end
- end
- Rooted = true
- CreateSound(649634100, Torso, 10, 0.8)
- CreateSound(1368573150, RightArm, 3, 1.5)
- for i=0, 0.6, 0.1 / Animation_Speed do
- Swait()
- WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- end
- for _, c in pairs(HIT:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = false
- end
- end
- KillChildren(HIT)
- end
- OFFSET = 0
- ATTACK = false
- Rooted = false
- TAUNT = false
- end
- function Boom()
- Rooted = true
- ATTACK = true
- Character:BreakJoints()
- local Explosion = IT("Explosion",Effects)
- Explosion.Position = HandlePart.Position
- Explosion.BlastPressure = 5000000
- local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really white", "Handle", VT(0, 0, 0))
- PRT.CanCollide = false
- PRT.CFrame = CF(HandlePart.Position)
- Debris:AddItem(PRT,10)
- CreateSound("2248511", Effects, 10, 0.2)
- MagicSphere(VT(5,5,5),250,PRT.CFrame*CF(0,-2,0),"White",VT(6,2,6))
- MagicSphere(VT(4,4,4),250,PRT.CFrame*CF(0,-2,0),"Really white",VT(6,2,6))
- MagicSphere(VT(5,5,5),250,PRT.CFrame,"White",VT(5,15,5))
- MagicSphere(VT(4,4,4),250,PRT.CFrame,"Really white",VT(5,15,5))
- CreateWave(VT(1,5,1),250,PRT.CFrame*CF(0,-2,0),true,4,"White",VT(5,1,5))
- CreateSwirl(VT(0,0,0),250,PRT.CFrame,true,-4,"Pine Cone",VT(6,6,6))
- CreateSpikeball(VT(0,0,0),250,PRT.CFrame,true,15,"Pine Cone",VT(3,3,3))
- for i = 1, 250 do
- Swait()
- killnearest(PRT.Position,750000,75)
- end
- ATTACK = false
- Rooted = false
- end
- function Dismantle()
- local model = Instance.new("Model")
- model.Parent = workspace
- model.Name = math.random(-10000,10000)
- local Spawner = Instance.new("Part")
- Spawner.Name = "12qwaszx"
- Spawner.CFrame = (Mouse.Hit)
- Spawner.Anchored = true
- Spawner.Size = Vector3.new(0,0,0)
- Spawner.Transparency = 1
- Spawner.Parent = workspace
- local Box = Instance.new("Part")
- Box.Position = (Spawner.Position)
- Box.CanCollide = false
- Box.Transparency = 0.5
- Box.Size = Vector3.new(20,20,20)
- Box.Anchored = true
- Box.Material = "Neon"
- Box.Parent = model
- local selection = Instance.new("SelectionBox")
- selection.Parent = Box
- selection.Adornee = Box
- selection.LineThickness = 1
- local face1 = Instance.new("Part")
- face1.Size = Vector3.new(2,20,20)
- face1.Transparency = 1
- face1.CFrame = (Spawner.CFrame)
- face1.Anchored = true
- face1.Parent = model
- face1.CFrame = Box.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face1.Material = "Neon"
- local face2 = Instance.new("Part")
- face2.Size = Vector3.new(2,20,20)
- face2.Transparency = 1
- face2.CFrame = (Spawner.CFrame)
- face2.Anchored = true
- face2.Parent = model
- face2.CFrame = Box.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face2.Material = "Neon"
- local face3 = Instance.new("Part")
- face3.Size = Vector3.new(20,20,2)
- face3.Transparency = 1
- face3.CFrame = (Spawner.CFrame)
- face3.Anchored = true
- face3.Parent = model
- face3.CFrame = Box.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face3.Material = "Neon"
- local face4 = Instance.new("Part")
- face4.Size = Vector3.new(20,20,2)
- face4.Transparency = 1
- face4.CFrame = (Spawner.CFrame)
- face4.Anchored = true
- face4.Parent = model
- face4.CFrame = Box.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face4.Material = "Neon"
- local face5 = Instance.new("Part")
- face5.Size = Vector3.new(20,2,20)
- face5.Transparency = 1
- face5.CFrame = (Spawner.CFrame)
- face5.Anchored = true
- face5.Parent = model
- face5.CFrame = Box.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face5.Material = "Neon"
- local face6 = Instance.new("Part")
- face6.Size = Vector3.new(20,2,20)
- face6.Transparency = 1
- face6.CFrame = (Spawner.CFrame)
- face6.Anchored = true
- face6.Parent = model
- face6.CFrame = Box.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- face6.Material = "Neon"
- model.PrimaryPart = Spawner
- local RainbowEffect = coroutine.wrap(function()
- while true do
- Swait()
- Box.Color = Color3.new(r/255,g/255,b/255)
- selection.Color3 = Color3.new(r/255,g/255,b/255)
- end
- end)
- RainbowEffect()
- local e = 0
- local killing = false
- if killing == false then
- function onTouched(part)
- local hit = part
- hit.CFrame = CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y, Spawner.CFrame.Z)
- end
- else
- end
- Box.Touched:connect(onTouched)
- local spin = coroutine.wrap(function()
- while true do
- e = e + 0.01
- model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y ,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
- Swait()
- end
- end)
- spin()
- local moveup = coroutine.wrap(function()
- local p = 0
- for i = 0,0.7,0.01 do
- Swait()
- p = p+0.01
- model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y + p,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
- end
- end)
- moveup()
- wait(1)
- local FLASH = coroutine.wrap(function()
- local p = 1
- for i = 0,0.7,0.01 do
- Swait()
- p = p-0.01
- face1.Transparency = p
- face2.Transparency = p
- face3.Transparency = p
- face4.Transparency = p
- face5.Transparency = p
- face6.Transparency = p
- end
- end)
- local sound = Instance.new("Sound")
- sound.Parent = Box
- sound.SoundId = "rbxassetid://1996663666"
- sound.EmitterSize = 100
- sound.MaxDistance = 1000
- sound.TimePosition = 0
- sound:Play()
- sound.Volume = 5
- FLASH()
- wait(2)
- sound:Pause()
- local sound2 = Instance.new("Sound")
- sound2.Parent = Box
- sound2.SoundId = "rbxassetid://178452241"
- sound2.EmitterSize = 100
- sound2.MaxDistance = 1000
- sound2.TimePosition = 0
- sound2:Play()
- sound2.Volume = 10
- local LIGHTNING = coroutine.wrap(function()
- local p = 0
- for i = 0,1,0.01 do
- Swait()
- face1.Transparency = p
- face2.Transparency = p
- face3.Transparency = p
- face4.Transparency = p
- face5.Transparency = p
- face6.Transparency = p
- p = p+0.08
- end
- end)
- LIGHTNING()
- function onTouched(part)
- local hit = part
- local dismantle2 = coroutine.wrap(function()
- for i = 0,2,0.01 do
- Swait()
- hit.Velocity = Vector3.new(math.huge,math.huge,math.huge)
- end
- end)
- dismantle2()
- end
- Box.Touched:connect(onTouched)
- wait()
- local DISAPPER = coroutine.wrap(function()
- local p = 0
- for i = 0,2,0.01 do
- Swait()
- face1.Transparency = face1.Transparency + p
- face2.Transparency = face1.Transparency + p
- face3.Transparency = face1.Transparency + p
- face4.Transparency = face1.Transparency + p
- face5.Transparency = face1.Transparency + p
- face6.Transparency = face1.Transparency + p
- Box.Transparency = p
- selection.Transparency = p
- p = p+0.01
- end
- end)
- DISAPPER()
- wait(2)
- model:Remove()
- end
- -----------------------------------------------------------------------------------------------------
- function implode()
- end
- function Smite()
- local spawner = Instance.new("Part")
- spawner.Parent = workspace
- spawner.Transparency = 1
- spawner.CFrame = (Mouse.Hit)
- spawner.Size = Vector3.new(0,0,0)
- spawner.Anchored = true
- local suck = Instance.new("Part")
- suck.Transparency = 0
- suck.CFrame = (spawner.CFrame)
- suck.Size = Vector3.new(70,70,70)
- suck.Material = "Neon"
- suck.Anchored = true
- suck.CanCollide = false
- suck.Shape = "Ball"
- suck.Parent = workspace
- local colors = coroutine.wrap(function()
- for i = 1,55 do
- Swait()
- suck.Color = Color3.new(r/255,g/255,b/255)
- end
- end)
- colors()
- local fade = coroutine.wrap(function()
- local p = 0
- for i = 1,55 do
- suck.Transparency = p
- p = p+0.02
- Swait()
- end
- end)
- fade()
- local size = coroutine.wrap(function()
- local p = 70
- for i = 1,55 do
- suck.Size = Vector3.new(p,p,p)
- p = p - 1
- Swait()
- end
- end)
- size()
- local move = coroutine.wrap(function()
- for i = 1,55 do
- Swait()
- suck.CFrame = (spawner.CFrame)
- end
- end)
- move()
- function onTouched(part)
- local hit = part
- if hit:FindFirstChild("BodyPosition") then
- else
- local blackhole1 = coroutine.wrap(function()
- local pull = Instance.new("BodyPosition")
- pull.position = suck.Position
- pull.Parent = hit
- pull.P = 10000000000
- pull.MaxForce = Vector3.new(10000,10000,10000)
- wait(2)
- pull:Remove()
- end)
- blackhole1()
- end
- end
- suck.Touched:connect(onTouched)
- wait(1)
- suck:Remove()
- local death = Instance.new("Part")
- local boooom = coroutine.wrap(function()
- Swait()
- local bang = Instance.new("Explosion")
- bang.BlastPressure = math.huge
- bang.BlastRadius = 20
- bang.DestroyJointRadiusPercent = 100
- bang.Position = (spawner.Position)
- bang.Visible = false
- bang.Parent = spawner
- local sound2 = Instance.new("Sound")
- sound2.Parent = spawner
- sound2.SoundId = "rbxassetid://168586586"
- sound2.EmitterSize = 100
- sound2.MaxDistance = 1000
- sound2.TimePosition = 0
- sound2:Play()
- sound2.Volume = 10
- death.Parent = workspace
- death.Transparency = 1
- death.CFrame = (spawner.CFrame)
- death.Size = Vector3.new(20,20,20)
- death.Velocity = Vector3.new(math.huge,math.huge,math.huge)
- local size = coroutine.wrap(function()
- local p = 20
- for i = 1,55 do
- death.CFrame = (spawner.CFrame)
- death.Size = Vector3.new(p,p,p)
- p = p + 1
- Swait()
- end
- end)
- size()
- bang.Parent = spawner
- end)
- boooom()
- local RING, MESH, DELET = MakeRing()
- local POS = spawner.Position
- RING.CFrame = CF(spawner.Position + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), spawner.Position) * ANGLES(RAD(90), RAD(0), RAD(0))
- local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
- if HITFLOOR then
- local DIST = (RING.Position - HITPOS).Magnitude
- for i = 1, 5 do
- WACKYEFFECT({
- EffectType = "Wave",
- Size = VT(25, 0, 25),
- Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
- Transparency = 0,
- Transparency2 = 1,
- CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
- MoveToPos = nil,
- RotationX = 0,
- RotationY = 3,
- RotationZ = 0,
- Material = "Neon",
- Color = C3(r1/255, g1/255, b1/255),
- SoundID = nil,
- SoundPitch = nil,
- SoundVolume = nil
- })
- WACKYEFFECT({
- EffectType = "Round Slash",
- Size = VT(3, 0, 3) / 13,
- Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
- Transparency = 0,
- Transparency2 = 1,
- CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
- MoveToPos = nil,
- RotationX = 0,
- RotationY = 0,
- RotationZ = 0,
- Material = "Neon",
- Color = C3(r1/255, g1/255, b1/255),
- SoundID = nil,
- SoundPitch = nil,
- SoundVolume = nil
- })
- WACKYEFFECT({
- Time = 35,
- EffectType = "Sphere",
- Size = VT(22, 22, 22),
- Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
- Transparency = 0,
- Transparency2 = 1,
- CFrame = CF(spawner.Position),
- MoveToPos = nil,
- RotationX = 0,
- RotationY = 0,
- RotationZ = 0,
- Material = "Neon",
- Color = C3(r1/255, g1/255, b1/255),
- SoundID = 459523898,
- SoundPitch = MRANDOM(9, 12) / 10,
- SoundVolume = 10
- })
- end
- SHAKECAM(spawner.Position, 100, 8, 15)
- ApplyAoE(spawner.Position, 50)
- for i = 1, 25 do
- Swait()
- end
- end
- wait(0.2)
- death:Remove()
- DELET()
- wait(2)
- spawner:Remove()
- end
- v = 0
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.E then
- v = 0
- SKILL7TEXT.Text = "[CLICK] Cube of Rainbow"
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.R then
- v = 1
- SKILL7TEXT.Text = "[CLICK] Explosion of Rainbow"
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- Mouse.Button1Down:connect(function()
- if v == 0 then
- Dismantle()
- end
- if v == 1 then
- implode()
- Smite()
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "f" then
- SpawnSmite(Mouse.Hit.p)
- end
- if Key == "z" then
- Smite()
- end
- if Key == "x" then
- implode()
- end
- if Key == "c" then
- Dismantle()
- end
- if key == "q" then
- local pos = RootPart.Position
- RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
- end
- if Key == "g" then
- Boom()
- end
- end)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.P then
- for _, c in pairs(Character:GetChildren()) do
- c:Remove()
- createstuff()
- headness.Parent = Character
- headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
- weldBetween(headness,Head)
- txt.Adornee = BlockHead
- end
- sick.SoundId = "rbxassetid://556122490"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 2
- sick.Parent = Effects
- sick.Playing = PLAYSONG
- local Effects = IT("Folder", Character)
- Effects.Name = "Effects"
- local Effects = IT("Folder", Character)
- Effects.Name = "Effects"
- local deathpart = Instance.new("Part")
- deathpart.Parent = game.Workspace
- deathpart.CFrame = (Torso.CFrame)
- deathpart.Anchored = true
- deathpart.Size = Vector3.new(2,2,2)
- deathpart.Material = ("Neon")
- deathpart.CanCollide = false
- deathpart.Transparency = 0
- deathpart.Shape = "Ball"
- local stoptime = coroutine.wrap(function()
- local p = 2
- for i = 1,10,0.1 do
- deathpart.CFrame = (Torso.CFrame)
- deathpart.Color = Color3.new(r/255,g/255,b/255)
- deathpart.Size = Vector3.new(p,p,p)
- Blockhead.Parent = headness
- p = p+2
- Swait()
- end
- end)
- stoptime()
- ------------------------------------------
- local stoptime = coroutine.wrap(function()
- local p = 2
- for i = 1,10,0.1 do
- deathpart.Transparency = p/30
- p = p+1
- Swait()
- end
- end)
- stoptime()
- wait(1)
- deathpart:Remove()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- local random4 = coroutine.wrap(function()
- while true do
- RightArm.Color = Color3.new(r/255,g/255,b/255)
- LeftArm.Color = Color3.new(r/255,g/255,b/255)
- RightLeg.Color = Color3.new(r/255,g/255,b/255)
- LeftLeg.Color = Color3.new(r/255,g/255,b/255)
- headness.Color = Color3.new(r/255,g/255,b/255)
- Torso.Color = Color3.new(r/255,g/255,b/255)
- headness.Transparency = 0.5
- RootPart.Transparency = 1
- Swait()
- end
- end)
- random4()
- while true do
- RightArm.Transparency = 0.3
- LeftArm.Transparency = 0.3
- RightLeg.Transparency = 0.3
- LeftLeg.Transparency = 0.3
- Torso.Transparency = 0.3
- Head.Transparency = 1
- RightArm.Material = ("Neon")
- LeftArm.Material = ("Neon")
- LeftLeg.Material = ("Neon")
- RightLeg.Material = ("Neon")
- Torso.Material = ("Neon")
- Head.Material = ("Neon")
- headness.Material = ("Neon")
- function fix()
- if Head.Size ~= Vector3.new(2,1,1)then
- Head.Size = Vector3.new(1,1,1)
- end
- if RightArm.Size ~= Vector3.new(1,2,1)then
- RightArm.Size = Vector3.new(1,2,1)
- end
- if LeftArm.Size ~= Vector3.new(1,2,1)then
- LeftArm.Size = Vector3.new(1,2,1)
- end
- if RightLeg.Size ~= Vector3.new(1,2,1)then
- RightLeg.Size = Vector3.new(1,2,1)
- end
- if LeftArm.Size ~= Vector3.new(1,2,1)then
- LeftArm.Size = Vector3.new(1,2,1)
- end
- if Torso.Size ~= Vector3.new(2,2,1)then
- Torso.Size = Vector3.new(2,2,1)
- end
- end
- Swait()
- script.Parent = WEAPONGUI
- ANIMATE.Parent = nil
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- if Character:FindFirstChildOfClass("Humanoid") == nil then
- Humanoid = IT("Humanoid",Character)
- end
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
- local WALKSPEEDVALUE = 4
- if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- end
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "SelectionBox" or c.Name == "Body Colors" then
- c:remove()
- end
- end
- AntiTimeStop()
- fix()
- Humanoid.MaxHealth = 10e10
- Humanoid.Health = 10e10
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- --1383666704
- sick.SoundId = "rbxassetid://556122490"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 2
- sick.Parent = Effects
- sick.Playing = PLAYSONG
- Humanoid.PlatformStand = false
- Humanoid.Name = "the god of shapes"
- refit()
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") and ATTACK == false then
- for _, e in pairs(c:GetChildren()) do
- if e:IsA("BodyPosition") or e:IsA("BodyGyro") or e:IsA("Decal") or e:IsA("ParticleEmitter") or e:IsA("Fire") or e:IsA("Smoke") or e:IsA("SelectionBox") or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- e:remove()
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement