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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- function Smooth(part)
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.RightSurface = "Smooth"
- part.LeftSurface = "Smooth"
- end
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- run = false
- root = char.HumanoidRootPart
- hum = char.Humanoid
- clerp = function(toclerp, cf, number)
- local joint = toclerp
- joint.C0 = joint.C0:Lerp(cf, number)
- end
- clerp2 = function(toclerp, cf)
- local joint = toclerp
- joint.C0 = cf
- end
- clerp3 = function(toclerp, cf, number)
- local joint = toclerp
- joint.C1 = joint.C1:Lerp(cf, number)
- end
- Swait,swait = function(number)
- if number == 0 or number == nil then
- game:GetService("RunService").Heartbeat:Wait()
- else
- for i = 1,number do
- game:GetService("RunService").Heartbeat:Wait()
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- Frame_Speed = 1 / 60
- 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)
- function Swait2(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- IT = Instance.new
- Rad = math.rad
- Cos = math.cos
- Sin = math.sin
- BrickC = BrickColor.new
- C3 = Color3.new
- VT = Vector3.new
- --more stuff--
- function Snap(Part)
- local FeelGood = Instance.new("ParticleEmitter")
- FeelGood.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.new(0.0509804, 0.411765, 0.67451)), ColorSequenceKeypoint.new(1, Color3.new(0.0509804, 0.411765, 0.67451))})
- FeelGood.LightInfluence = 1
- FeelGood.Lifetime = NumberRange.new(1, 2)
- FeelGood.Speed = NumberRange.new(0, 0)
- FeelGood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.15000000596046, 0), NumberSequenceKeypoint.new(0.80000001192093, 0.15000000596046, 0), NumberSequenceKeypoint.new(1, 0, 0)})
- FeelGood.Acceleration = Vector3.new(0, 1, 3)
- FeelGood.Rate = 100
- FeelGood.Rotation = NumberRange.new(-360, 360)
- FeelGood.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0), NumberSequenceKeypoint.new(1, 0.5, 0)})
- FeelGood.Name = "FeelGood"
- FeelGood.Texture = "rbxassetid://282305485"
- U = FeelGood
- U.Parent = Part
- U.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Part.Color), ColorSequenceKeypoint.new(1, Part.Color)})
- coroutine.resume(coroutine.create(function()
- local PT = (1 - Part.Transparency)/150
- for i = 1,150 do
- game:GetService("RunService").Stepped:wait()
- Part.Transparency = Part.Transparency + PT
- end
- U.Enabled = false
- for i = 1,100 do
- game:GetService("RunService").Stepped:wait()
- end
- Part:Destroy()
- end))
- end
- function Goodbye(Model)
- local mesg = Instance.new("NumberValue",Model)
- mesg.Name = "goodbye"
- for _,v in pairs (Model:GetDescendants()) do
- if v:IsA("Part") or v:IsA("MeshPart") and v.Name ~= "HumanoidRootPart" then
- Snap(v)
- if v.Name == "Head" then
- local change = Instance.new("Sound",v) change.Volume = 10 change.Pitch = 1.15 change.SoundId = "rbxassetid://3854597632" change:Play()
- end
- end
- end
- end
- anim = "Idle"
- mode = "memer"
- attack = false
- sped = 16
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local neck = char.Torso["Neck"]
- local anim = "Idle"
- local rootj = char.HumanoidRootPart.RootJoint
- local timepos = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local RSnor2 = RS.C1
- local LSnor2 = LS.C1
- local RHnor2 = RH.C1
- local LHnor2 = LH.C1
- local rootjnor = rootj.C0
- local necknor = neck.C0
- RootJoint = root["RootJoint"]
- Neck = char.Torso["Neck"]
- RightShoulder = char.Torso["Right Shoulder"]
- LeftShoulder = char.Torso["Left Shoulder"]
- RightHip = char.Torso["Right Hip"]
- LeftHip = char.Torso["Left Hip"]
- hum.Animator:Destroy()
- hold = false
- mouse = plr:GetMouse()
- hold = false
- Debris = game:GetService("Debris")
- local sur = Instance.new("BillboardGui", char.Head)
- sur.Name = "BillboardGui"
- sur.Adornee = char.Head
- sur.Size = UDim2.new(10 / 2, 0, 5 / 2, 0)
- sur.StudsOffset = Vector3.new(0, 5 / 2, 0)
- local text = Instance.new("TextLabel", sur)
- text.Text = "Memer"
- text.Size = UDim2.new(1 / 2, 0, 1 / 2, 0)
- text.TextScaled = true
- text.BackgroundTransparency = 1
- text.Font = Enum.Font.Arcade
- text.TextColor3 = BrickColor.new("Cyan").Color
- text.TextStrokeColor3 = BrickColor.new("Dark blue").Color
- text.TextStrokeTransparency = 0
- local desc = Instance.new("BillboardGui", char.Head)
- desc.Name = "desc"
- desc.Adornee = char.Head
- desc.Size = UDim2.new(10 / 2, 0, 5 / 2, 0)
- desc.StudsOffset = Vector3.new(0, 2.5 / 2, 0)
- local desct = Instance.new("TextLabel", sur)
- desct.Text = "The power of memes.. They're too powerful!"
- desct.Size = UDim2.new(3 / 2, 0, 0.5 / 2, 0)
- desct.TextScaled = true
- desct.BackgroundTransparency = 1
- desct.Font = Enum.Font.Arcade
- desct.TextColor3 = BrickColor.new("Cyan").Color
- desct.TextStrokeColor3 = BrickColor.new("Dark blue").Color
- desct.TextStrokeTransparency = 0
- function Clerp(a, b, t)
- return a:lerp(b,t)
- end
- 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 = 45
- 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 magic = Instance.new("Model",nil)
- magic.Name = "Magician"
- local rhats = Instance.new("Model",nil)
- rhats.Name = "RemovedHats"
- local mhat = Instance.new("Part",magic)
- mhat.CanCollide = false
- mhat.Size = Vector3.new(0.1, 0.1, 0.1)
- mhat.BrickColor = BrickColor.new("Maroon")
- local mesh = Instance.new("SpecialMesh",mhat)
- mesh.MeshId = "rbxassetid://57475891"
- mesh.Offset = Vector3.new(0, 1, 0)
- local mhweld = ezweld(char, mhat, char.Head, CFrame.new())
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Weld2 = Instance.new("Weld")
- Weld3 = Instance.new("Weld")
- Weld4 = Instance.new("Weld")
- Part5 = Instance.new("Part")
- CylinderMesh6 = Instance.new("CylinderMesh")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- Model8 = Instance.new("Model")
- Part9 = Instance.new("Part")
- CylinderMesh10 = Instance.new("CylinderMesh")
- Part11 = Instance.new("Part")
- CylinderMesh12 = Instance.new("CylinderMesh")
- Model0.Name = "Wand"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Base"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(99.6891098, 0.100066148, 124.775757, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(99.6891098, 0.100066148, 124.775757)
- Part1.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Weld2.Name = "Joint"
- Weld2.Parent = Part1
- Weld2.C0 = CFrame.new(-4.76837158e-06, -4.57763672e-05, -1.69998741, 1, 0, -0, 0, 0, 1, 0, -1, 0)
- Weld2.Part0 = Part1
- Weld2.Part1 = Part5
- Weld2.part1 = Part5
- Weld3.Name = "BTWeld"
- Weld3.Parent = Part1
- Weld3.C1 = CFrame.new(7.62939453e-06, -0.499984741, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Weld3.Part0 = Part1
- Weld3.Part1 = Part11
- Weld3.part1 = Part11
- Weld4.Name = "BTWeld"
- Weld4.Parent = Part1
- Weld4.C1 = CFrame.new(7.62939453e-06, 0.700012207, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Weld4.Part0 = Part1
- Weld4.Part1 = Part9
- Weld4.part1 = Part9
- Part5.Name = "Head"
- Part5.Parent = Model0
- Part5.CFrame = CFrame.new(99.6891022, 0.100020371, 123.075768, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part5.Orientation = Vector3.new(-90, 0, 0)
- Part5.Position = Vector3.new(99.6891022, 0.100020371, 123.075768)
- Part5.Rotation = Vector3.new(-90, 0, 0)
- Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part5.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Institutional white")
- Part5.CanCollide = false
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Institutional white")
- CylinderMesh6.Parent = Part5
- ParticleEmitter7.Name = "Sparkles"
- ParticleEmitter7.Parent = Part5
- ParticleEmitter7.Speed = NumberRange.new(5, 15)
- ParticleEmitter7.Rotation = NumberRange.new(0, 360)
- ParticleEmitter7.Enabled = false
- ParticleEmitter7.LightEmission = 1
- ParticleEmitter7.Texture = "rbxassetid://1053546634"
- ParticleEmitter7.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter7.ZOffset = -0.10000000149012
- ParticleEmitter7.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter7.Drag = 15
- ParticleEmitter7.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter7.Rate = 45
- ParticleEmitter7.SpreadAngle = Vector2.new(360, 360)
- ParticleEmitter7.VelocitySpread = 360
- Model8.Name = "Union"
- Model8.Parent = Model0
- Part9.Parent = Model8
- Part9.CFrame = CFrame.new(99.6891022, 0.100020371, 125.475769, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part9.Orientation = Vector3.new(-90, 0, 0)
- Part9.Position = Vector3.new(99.6891022, 0.100020371, 125.475769)
- Part9.Rotation = Vector3.new(-90, 0, 0)
- Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part9.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
- Part9.Anchored = true
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.BrickColor = BrickColor.new("Institutional white")
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.brickColor = BrickColor.new("Institutional white")
- CylinderMesh10.Parent = Part9
- Part11.Parent = Model8
- Part11.CFrame = CFrame.new(99.6891022, 0.100020371, 124.275772, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part11.Orientation = Vector3.new(-90, 0, 0)
- Part11.Position = Vector3.new(99.6891022, 0.100020371, 124.275772)
- Part11.Rotation = Vector3.new(-90, 0, 0)
- Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part11.Size = Vector3.new(0.200000003, 2.19999981, 0.200000003)
- Part11.Anchored = true
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.BrickColor = BrickColor.new("Really black")
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Really black")
- CylinderMesh12.Parent = Part11
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(Model0:GetChildren()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- end
- for i,v in pairs(Model8:GetChildren()) do
- v.Anchored = false
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- WAND = Model0
- 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
- function SpawnWand(ARM)
- local STAFF = WAND:Clone()
- STAFF.Parent = magic
- local WELD = CreateWeldOrSnapOrMotor("Weld", ARM, ARM, STAFF.Base, CF(0,-1.1,0), CF(0,0,0))
- return STAFF,WELD,STAFF.Head.Sparkles
- end
- SpawnWand(la)
- --------------
- hum.MaxHealth = 550
- hum.Health = 550
- home = 0.15
- smashed = false
- grat = false
- size = 1
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- local theme = NewSound(root, 243832038, 1, 10, true)
- function mememode()
- mode = "memer"
- magic.Parent = nil
- theme.SoundId = "rbxassetid://243832038"
- theme.Pitch = 1
- text.Font = Enum.Font.Arcade
- text.Text = "Memer"
- text.TextColor3 = BrickColor.new("Cyan").Color
- text.TextStrokeColor3 = BrickColor.new("Dark blue").Color
- text.TextStrokeTransparency = 0
- desct.Text = "The power of memes.. They're too powerful!"
- desct.Font = Enum.Font.Arcade
- desct.TextColor3 = BrickColor.new("Cyan").Color
- desct.TextStrokeColor3 = BrickColor.new("Dark blue").Color
- desct.TextStrokeTransparency = 0
- end
- function mayhemmode()
- mode = "mayhem"
- magic.Parent = nil
- theme.SoundId = "rbxassetid://729622879"
- theme.Pitch = 0.85
- text.Font = Enum.Font.Fantasy
- text.Text = "Mayhem"
- text.TextColor3 = BrickColor.new("Really red").Color
- text.TextStrokeColor3 = BrickColor.new("Reddish brown").Color
- text.TextStrokeTransparency = 0
- desct.Text = "The chaos, make it stop!"
- desct.Font = Enum.Font.Fantasy
- desct.TextColor3 = BrickColor.new("Really red").Color
- desct.TextStrokeColor3 = BrickColor.new("Reddish brown").Color
- desct.TextStrokeTransparency = 0
- end
- function magician()
- mode = "magician"
- magic.Parent = char
- theme.SoundId = "rbxassetid://1583302174"
- theme.Pitch = 1
- text.Font = Enum.Font.Antique
- text.Text = "Magician"
- text.TextColor3 = BrickColor.new("Bright yellow").Color
- text.TextStrokeColor3 = BrickColor.new("Bright red").Color
- text.TextStrokeTransparency = 0
- desct.Text = "Prepare for an amazing magic trick!"
- desct.Font = Enum.Font.Antique
- desct.TextColor3 = BrickColor.new("Bright yellow").Color
- desct.TextStrokeColor3 = BrickColor.new("Bright red").Color
- desct.TextStrokeTransparency = 0
- end
- function TakeDamage(Char,Damage)
- local Hum = Char:FindFirstChildOfClass("Humanoid")
- if Hum then
- if Hum ~= hum then
- if Hum.Health > Damage then
- Hum:TakeDamage(Damage)
- else
- local yes = true
- for i,g in pairs(Char:GetDescendants()) do
- if g.Name == "FeelGood" then
- yes = false
- end
- end
- if yes == true then
- for i,g in pairs(Char:GetDescendants()) do
- if g:IsA("BasePart") then
- Snap(g)
- end
- end
- end
- end
- end
- end
- end
- function turnto(position)
- root.CFrame=CFrame.new(root.CFrame.p,VT(position.X,root.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- function ezweld2(P1,P2,CFRAME)
- local ezw = CreateWeldOrSnapOrMotor("Weld",P1,P1,P2,CFRAME,CF(0,0,0))
- return ezw
- end
- function TestIt(PART)
- local yes = true
- if PART.Parent == char or PART.Parent == char then
- yes = false
- end
- if PART.Parent.Parent == char then
- yes = false
- end
- return yes
- end
- function CreatePart(PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = Instance.new("Part",PARENT)
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- if ANCHOR == true then
- NEWPART.Anchored = true
- end
- NEWPART.BrickColor = BrickColor.new(BRICKCOLOR)
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = char.Torso.Position
- NEWPART.Material = MATERIAL
- return NEWPART
- end
- function AntiGravity(PART)
- local bodyForced = Instance.new('BodyForce', PART)
- bodyForced.Name = 'Antigravity'
- bodyForced.Force = Vector3.new(0, PART:GetMass() * game.Workspace.Gravity, 0)
- return bodyForced
- 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()
- NEWSOUND.Name = "Audio"
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat Swait() until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function ApplyDamage(Humanoid,Damage)
- if Damage > 0 then
- Damage = Damage * 1
- if Humanoid.Health < 2000 then
- if Humanoid.Health - Damage > 0 then
- Humanoid.Health = Humanoid.Health - Damage
- else
- Humanoid.Parent:BreakJoints()
- end
- else
- Humanoid.Parent:BreakJoints()
- end
- end
- end
- function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,FLINGTO,INSTAKILL)
- for index, CHILD in pairs(workspace:GetDescendants()) do
- if CHILD.ClassName == "Model" and CHILD ~= char then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - POSITION).Magnitude <= RANGE then
- if INSTAKILL == true then
- CHILD:BreakJoints()
- else
- local DMG = MRANDOM(MINDMG,MAXDMG)
- ApplyDamage(HUM,DMG)
- end
- if FLING ~= "Twist" then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity",c)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- if FLINGTO == nil then
- bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
- else
- bv.velocity = CF(TORSO.Position,TORSO.Position + FLINGTO).lookVector*FLING
- end
- Debris:AddItem(bv,0.01)
- end
- end
- else
- TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(0),RAD(10),RAD(0))
- local bv = Instance.new("BodyVelocity",TORSO)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = VT(0,0,0)
- Debris:AddItem(bv,0.01)
- end
- end
- end
- end
- 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 Torso = char.Torso
- local Effects = IT("Model", script)
- Effects.Name = "some effects"
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- 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(1,1,1))
- 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 = nil
- 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
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" or TYPE == "Box" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = SIZE
- 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))
- elseif TYPE == "Duck" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9419831", "9419827", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- 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
- Swait2()
- 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
- --EFFECT.Transparency = 1
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait2() until SOUND.Playing == false
- EFFECT:remove()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait2() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function gratting()
- local spinny = 0
- attack = true
- hold = true
- local s = Instance.new("Sound",root) s.SoundId = "rbxassetid://991269011" s.Volume = 3 s:Play()
- local hitbox = char.Torso.Touched:connect(function(hit)
- if hit.Parent ~= workspace and not hit.Parent:FindFirstChild("goodbye") then
- Goodbye(hit.Parent)
- end
- end)
- repeat
- Swait()
- sped = 50
- spinny = spinny + 35
- clerp(rootj, rootjnor * CFrame.Angles(Rad(90), Rad(0), Rad(0)), 0.15)
- rootj.C0 = rootj.C0 * CFrame.Angles(Rad(0), Rad(0), Rad(spinny))
- clerp(neck, necknor, 0.15)
- clerp(RS, RSnor * CFrame.new(-0.5, -0.5, 0) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
- clerp(LS, LSnor * CFrame.new(0.5, -0.5, 0) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
- clerp(RH, RHnor, 0.15)
- clerp(LH, LHnor, 0.15)
- until grat == false
- sped = 16
- hitbox:disconnect()
- s:remove()
- attack = false
- hold = false
- local spinny = 0
- end
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function Twister()
- local DIST = (root.Position - mouse.Hit.p).Magnitude
- if DIST > 25 then
- DIST = 25
- end
- local HIT,POS = Raycast(root.Position, (CF(root.Position, mouse.Hit.p)).lookVector, DIST, workspace)
- attack = true
- --Rooted = true
- local WAND,WELD,SPARKS = SpawnWand(la)
- CreateSound(769380905, WAND.Base, 2, 1.5, false)
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait2()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * 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), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(40), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- SPARKS.Enabled = true
- local SPIN = 0
- for i = 1, 25 do
- Swait2()
- SPIN = SPIN + 1
- ApplyAoE(POS,7,1,1,"Twist",nil,false)
- WACKYEFFECT({Time = 10, EffectType = "Swirl", Size = VT(10,10,10), Size2 = VT(11,11,11), Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 6, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * 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), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90+15*SIN(SPIN/4)), RAD(0), RAD(-15*COS(SPIN/4))) * LEFTSHOULDERC0, 2 / Animation_Speed)
- end
- for i = 1, 50 do
- Swait2()
- if FINISHER == true then
- break
- end
- SPIN = SPIN + 1
- ApplyAoE(POS,7,1,1,"Twist",nil,false)
- WACKYEFFECT({Time = 10, EffectType = "Swirl", Size = VT(10,10,10), Size2 = VT(11,11,11), Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 6, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * 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), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90+15*SIN(SPIN/4)), RAD(0), RAD(-15*COS(SPIN/4))) * LEFTSHOULDERC0, 2 / Animation_Speed)
- end
- if FINISHER == true then
- coroutine.resume(coroutine.create(function()
- ApplyAoE(POS,10,15,25,170,VT(0,15,0),false)
- WACKYEFFECT({EffectType = "Wave", Size = VT(10,2,10), Size2 = VT(22,4,22), Transparency = 0, Transparency2 = 1, CFrame = CF(POS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 6, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 174580476, SoundPitch = 1, SoundVolume = 6})
- for i = 1, 15 do
- Swait()
- WACKYEFFECT({Time = 35-(i*2), EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = POS+VT(0,15,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- end))
- for i = 1, 35 do
- Swait2()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.12 + (i/30)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 0.6 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
- end
- end
- WAND:remove()
- attack = false
- end
- RootPart = root
- PLAY = true
- function AudiencePlay()
- attack = true
- --Rooted = true
- PLAY = false
- local PLAYING = true
- local SONG = CreateSound(322621962, RootPart, 10, 1, true)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait2()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- coroutine.resume(coroutine.create(function()
- repeat
- Swait2()
- local ANGLE = CF(RootPart.Position-VT(0,10,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(5,25))
- local COLORS = {"New Yeller","Deep blue","Lime green","Really red","Royal purple","Pearl"}
- WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(2,2,2), Size2 = VT(0,60,0), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC(COLORS[MRANDOM(1,#COLORS)]).Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 6})
- until PLAYING == false
- end))
- local WAND,WELD,SPARKS = SpawnWand(ra)
- repeat
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- for i=0, 0.13, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- SPARKS:Emit(15)
- for i = 1, 5 do
- local ANGLE = CF(WAND.Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
- WACKYEFFECT({Time = MRANDOM(10,50), EffectType = "Duck", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- for i=0, 0.13, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- for i=0, 0.13, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- SPARKS:Emit(15)
- for i = 1, 5 do
- local ANGLE = CF(WAND.Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
- WACKYEFFECT({Time = MRANDOM(10,50), EffectType = "Duck", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = ANGLE, MoveToPos = ANGLE*CF(0,30,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- for i=0, 0.13, 0.1 / Animation_Speed do
- Swait2()
- if PLAYING == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 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(40), RAD(0), RAD(12)) * CF(0,-1,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-12)) * CF(0,-1,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- until PLAYING == false or SONG.Parent ~= RootPart or PLAY == true
- SONG:remove()
- theme.Playing = true
- WAND:remove()
- for i=0, 6, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- PLAY = true
- attack = false
- --Rooted = false
- end
- function GameSmash()
- attack = true
- turnto(mouse.Hit.p)
- local Cube = Instance.new("Part")
- Cube.Parent = char
- Cube.CanCollide = false
- Cube.Size = Vector3.new(1.675, 1.188, 2.111)
- local Mesh = Instance.new("SpecialMesh",Cube)
- Mesh.MeshId = "rbxassetid://468760905"
- Mesh.TextureId = "rbxassetid://468760911"
- ezweld2(Cube,ra,CF(0,1 + (Cube.Size.Y/2),0))
- for i = 1,9 do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-30 + 0 * SIN(SINE / 12)), RAD(0), RAD(-40)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0 * COS(SINE / 2.5)) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(0), RAD(0 * SIN(SINE / 24))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(160 - 0 * COS(SINE/12)), RAD(0 * SIN(SINE / 12)), RAD(10 + 5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(0 + 0 * COS(SINE/12)), RAD(0 - 0 * SIN(SINE / 12)), RAD(-10 - 5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 0 * SIN(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- for i = 1,9 do
- Swait()
- if i == 6 then
- Cube:BreakJoints()
- Cube.RotVelocity = VT(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- Cube.Velocity = CF(Cube.Position,mouse.Hit.p).lookVector * 100
- AntiGravity(Cube)
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(20 + 0 * SIN(SINE / 12)), RAD(0), RAD(40)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0 * COS(SINE / 2.5)) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(0), RAD(0 * SIN(SINE / 24))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(160 - 0 * COS(SINE/12)), RAD(0 * SIN(SINE / 12)), RAD(10 + 5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(0 + 0 * COS(SINE/12)), RAD(0 - 0 * SIN(SINE / 12)), RAD(-10 - 5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(20 - 0 * SIN(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(20 + 0 * SIN(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- attack = false
- Cube.Touched:Connect(function(k)
- local yes = TestIt(k)
- if yes == true then
- local SPart = CreatePart(char,"SmoothPlastic",0,1,"White","SPart",VT(0.1,0.1,0.1),true)
- local s = CreateSound(933420402,SPart,2,1,false)
- s.TimePosition = 4.3
- SPart.Position = Cube.Position
- SPart.ChildRemoved:Connect(function()
- SPart:Destroy()
- end)
- local AlreadyHit = {}
- for i,g in pairs(game.Workspace:GetDescendants()) do
- if g:IsA("BasePart") and not g:IsA("Terrain") then
- local yos = TestIt(k)
- for i,k in pairs(AlreadyHit) do
- if k.Parent == g.Parent then
- yos = false
- end
- end
- if yos == true then
- if (g.Position - Cube.Position).Magnitude < 10 then
- table.insert(AlreadyHit,g)
- TakeDamage(g.Parent,math.random(20,40))
- end
- end
- end
- end
- Cube:Destroy()
- end
- end)
- end
- raycast = function(pos, direct, range, decendants)
- return workspace:FindPartOnRay(Ray.new(pos, direct.unit * range), decendants)
- end
- function Swirl(Table)
- local Position = (Table.Position or root.CFrame)
- local SpinXE = (Table.SpinXE or 380)
- local Speed = (Table.Speed or 0.15)
- local SpinYE = (Table.SpinYE or 0)
- local SpinZE = (Table.SpinZE or 380)
- local SpinXS = (Table.SpinXS or 1)
- local TSpeed = (Table.TSpeed or 0.1)
- local SpinYS = (Table.SpinYS or 1)
- local SpinZS = (Table.SpinZS or 1)
- local STransparency = (Table.StartT or 0)
- local Color = (Table.Color or Color3.new(1, 1, 1))
- local ETransparency = (Table.EndT or 1)
- local Size = (Table.Size or Vector3.new(1, 1, 1))
- local ESize = (Table.EndSize or Vector3.new(5, 5, 5))
- local Part = Instance.new("Part",char)
- Part.Size = Size
- Part.CFrame = Position
- Part.CanCollide = false
- Part.Transparency = STransparency
- Part.Size = Size
- Part.Anchored = true
- Part.Orientation = Vector3.new(SpinXS, SpinYS, SpinZS)
- local Mesh = Instance.new("SpecialMesh",Part)
- Mesh.MeshId = "rbxassetid://2671071329"
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- Mesh.Scale = Mesh.Scale:Lerp(ESize, Speed)
- Part.Transparency = Part.Transparency + TSpeed
- Part.Orientation = Part.Orientation:Lerp(Vector3.new(SpinXE, SpinYE, SpinZE), Speed)
- until Part.Transparency == ETransparency
- Part:Destroy()
- end))
- end
- function snapnub()
- local target = mouse.Target
- if target and target.Parent ~= workspace then
- Goodbye(target.Parent)
- end
- end
- mouse.Button1Down:connect(function()
- hold = true
- if attack == true and mode == "magician" then
- FINISHER = true
- elseif attack == false and mode == "magician" then
- Twister()
- end
- end)
- mouse.Button1Up:connect(function()
- hold = false
- end)
- mouse.KeyDown:connect(function(key)
- if key == "z" and mode == "memer" then
- snapnub()
- end
- if key == "c" and mode == "memer" then
- if grat then
- grat = false
- hold = false
- else
- grat = true
- hold = true
- gratting()
- end
- end
- if key == "q" then
- mayhemmode()
- end
- if key == "e" then
- mememode()
- end
- if key == "r" then
- magician()
- end
- if key == "m" and mode == "magician" then
- if PLAY then
- PLAY = false
- AudiencePlay()
- else
- PLAY = true
- end
- end
- end)
- SINE = 0
- while true do
- Swait()
- sine = sine + 1
- SINE = SINE + 2 / Animation_Speed
- neckrad = math.random(1, 15)
- neckclrad = math.random(-6, 6)
- hum.WalkSpeed = sped
- if PLAY == true then
- theme.Playing = true
- else
- theme.Playing = false
- end
- local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
- if TORSOVELOCITY < 1 then
- anim = "Idle"
- if attack == false and mode == "memer" then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0 * COS(SINE / 2.5)) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(0), RAD(0 * SIN(SINE / 24))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 0 * COS(SINE/12)), RAD(0 * SIN(SINE / 12)), RAD(12 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(0 + 0 * COS(SINE/12)), RAD(0 - 0 * SIN(SINE / 12)), RAD(-12 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 0 * SIN(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0 + 0 * SIN(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- elseif attack == false and mode == "frankie" then
- clerp(rootj, rootjnor * CFrame.new(0 + 0.05 * Cos(sine / 36), 0, 0.05 + 0.05 * Cos(sine / 18)) * CFrame.Angles(0, 0, Rad(15)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, Rad(-15)), 0.15)
- clerp(RH, RHnor * CFrame.new(0, -0.05 - 0.05 * Cos(sine / 18), 0 + 0.05 * Cos(sine / 36)) * CFrame.Angles(0, Rad(-10), 0), 0.15)
- clerp(LH, LHnor * CFrame.new(0, -0.05 - 0.05 * Cos(sine / 18), 0 - 0.05 * Cos(sine / 36)) * CFrame.Angles(0, Rad(10), 0), 0.15)
- clerp(RS, RSnor * CFrame.Angles(Rad(-10 - 5 * Cos(sine / 18)), Rad(-25), 0), 0.15)
- clerp(LS, LSnor * CFrame.Angles(Rad(-10 - 5 * Cos(sine / 18)), Rad(25), Rad(0)), 0.15)
- elseif attack == false and mode == "mayhem" then
- clerp(rootj, rootjnor * CFrame.new(0 + 0.05 * Cos(sine / 36), 0, 0.05 + 0.05 * Cos(sine / 18)) * CFrame.Angles(0, 0, Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(15), 0, 0), 0.15)
- clerp(RH, RHnor * CFrame.new(0, -0.05 - 0.05 * Cos(sine / 18), 0 + 0.05 * Cos(sine / 36)) * CFrame.Angles(0, Rad(-10), 0), 0.15)
- clerp(LH, LHnor * CFrame.new(0, -0.05 - 0.05 * Cos(sine / 18), 0 - 0.05 * Cos(sine / 36)) * CFrame.Angles(0, Rad(10), 0), 0.15)
- clerp(RS, RSnor * CFrame.Angles(Rad(-15 - 7 * Cos(sine / 18)), Rad(0), 0), 0.15)
- clerp(LS, LSnor * CFrame.Angles(Rad(-35), Rad(0), Rad(-160)), 0.15)
- elseif attack == false and mode == "magician" then
- --[[
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.15 * Cos(sine / 15)) * CFrame.Angles(0, 0, Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, Rad(0)), 0.15)
- clerp(RH, RHnor * CFrame.new(0, 0 - 0.15 * Cos(sine / 15), 0) * CFrame.Angles(Rad(-3), Rad(-3), 0), 0.15)
- clerp(LH, LHnor * CFrame.new(0, 0 - 0.15 * Cos(sine / 15), 0) * CFrame.Angles(Rad(-3), Rad(3), 0), 0.15)
- clerp(RS, RSnor * CFrame.new(0, -0.25, 0) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- clerp(LS, LSnor * CFrame.new(0, -0.25, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(0)), 0.15)
- ]]--
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.15 * Cos(SINE / 12)) * CFrame.Angles(0, 0, Rad(0)), 0.15)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, Rad(0)), 0.15)
- clerp(RH, RHnor * CFrame.new(0, 0 - 0.15 * Cos(SINE / 12), 0) * CFrame.Angles(Rad(-3), Rad(-3), 0), 0.15)
- clerp(LH, LHnor * CFrame.new(0, 0 - 0.15 * Cos(SINE / 12), 0) * CFrame.Angles(Rad(-3), Rad(3), 0), 0.15)
- --[[
- clerp(RS, RSnor * CFrame.new(0, -0.15, 0) * CFrame.Angles(Rad(-15 - 7 * Cos(sine / 18)), 0, 0), 0.15)
- clerp(LS, LSnor * CFrame.Angles(Rad(-35), Rad(0), Rad(-160)), 0.15)
- ]]--
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(170), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.5, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-20 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- end
- clerp3(RH, RHnor2 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
- clerp3(LH, LHnor2 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
- clerp3(LS, LSnor2 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
- else
- anim = "Walk"
- if attack == false then
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0.15 * Cos(sine / 15)) * CFrame.Angles(Rad(15), 0, 0), 0.15)
- clerp(neck, necknor, 0.15)
- clerp(RH, RHnor * CFrame.new(0, 0 - 0.15 * Cos(sine / 15), 0) * CFrame.Angles(0, Rad(0), 0), 0.15)
- clerp(LH, LHnor * CFrame.new(0, 0 - 0.15 * Cos(sine / 15), 0) * CFrame.Angles(0, Rad(0), 0), 0.15)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0 - 1 * Cos(sine / 8)), 0.15)
- clerp(LS, LSnor * CFrame.Angles(0, 0, 0 - 1 * Cos(sine / 8)), 0.15)
- --[[
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 4)) * ANGLES(RAD(15 + 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + 0 * COS(SINE / 2.5)) * ANGLES(RAD(-10 + 0 * SIN(SINE / 12)), RAD(0), RAD(0 * SIN(SINE / 24))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(30 * COS(SINE/4)), RAD(0 * SIN(SINE / 12)), RAD(10 + 0 * SIN(SINE / 20))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45 + 0 * COS(SINE / 12), 0) * ANGLES(RAD(-30 * COS(SINE/4)), RAD(0 - 0 * SIN(SINE / 12)), RAD(-10 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.2 + 0.3 * COS(SINE / 4), 0) * ANGLES(RAD(30 * SIN(SINE / 4)), RAD(85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.2 - 0.3 * COS(SINE / 4), 0) * ANGLES(RAD(-30 * SIN(SINE / 4)), RAD(-85), RAD(0)) * ANGLES(RAD(-2.5 - 0 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- ]]--
- end
- clerp3(RH, RHnor2 * CFrame.new(0 + 0.25 * Cos(sine / 4), -0 + 0.25 * Cos(sine / 4), 0) * CFrame.Angles(0, 0, 0 + 1 * Cos(sine / 8)), 0.15)
- clerp3(LH, LHnor2 * CFrame.new(0 + 0.25 * Cos(sine / 4), -0 + 0.25 * Cos(sine / 4), 0) * CFrame.Angles(0, 0, 0 + 1 * Cos(sine / 8)), 0.15)
- --clerp3(LS, LSnor2 * CFrame.Angles(0, 0, 0 - 1 * Cos(sine / 8)), 0.15)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement