Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [ By StarzoZero ] --
- -- [ WIP ] --
- 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");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- wait()
- local music = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- music.SoundId = "rbxassetid://157133918"
- music.Volume = 3.2
- music.Looped = true
- music.Pitch = 1
- music:Play()
- thing = 0
- LoudVolume = false
- Submerged = false
- Music = true
- script.Name = "SANIIIIC"
- Player = game.Players.LocalPlayer
- c = game.Players.LocalPlayer.Character
- Head = c.Head
- Humanoid = c.Humanoid
- anim = c.Humanoid.Animator
- rage = false
- p = game.Players.LocalPlayer
- Music = false
- anim = Humanoid.Animator
- local Effects = {}
- attack = false
- local attacking = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- mouse = Player:GetMouse()
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = c.Torso:FindFirstChild("Right Shoulder")
- LS = c.Torso:FindFirstChild("Left Shoulder")
- RH = c.Torso:FindFirstChild("Right Hip")
- LH = c.Torso:FindFirstChild("Left Hip")
- RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
- N = c.Torso:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- --[[mainShirt = c.Shirt
- mainPants = c.Pants
- mainBColors = c["Body Colors"]
- mainShirt.ShirtTemplate = "rbxassetid://769869277"
- mainPants.PantsTemplate = "rbxassetid://805486769"
- mainBColors.HeadColor = BrickColor.new("Pastel brown")
- mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
- mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
- mainBColors.RightArmColor = BrickColor.new("Pastel brown")
- mainBColors.RightLegColor = BrickColor.new("Pastel brown")
- mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function lerpz(joint, prop, cfrmz, alp)
- joint[prop] = joint[prop]:lerp(cfrmz, alp)
- end
- function resetlerp()
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- end
- local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://0" S2.Volume = 1 S2.PlaybackSpeed = 1 S2.Looped = true S2:Play()
- local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
- local att1 = Instance.new("Attachment", c["Right Leg"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Leg"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Leg"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Leg"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Leg"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Leg"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Leg"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Leg"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Leg"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Leg"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Leg"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Leg"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailside2.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Leg"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailtop12.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Leg"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Leg"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Leg"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Right Arm"])
- att1.Name = "att1"
- att1.Position = Vector3.new(0.5, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Right Arm"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-0.5, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Right Arm"])
- att3.Name = "att3"
- att3.Position = Vector3.new(0.5, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Right Arm"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-0.5, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Left Arm"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(0.5, 1, 0.5)
- local attt2 = Instance.new("Attachment", c["Left Arm"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-0.5, 1, 0.5)
- local attt3 = Instance.new("Attachment", c["Left Arm"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(0.5, -1, 0.5)
- local attt4 = Instance.new("Attachment", c["Left Arm"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-0.5, -1, 0.5)
- local trailtop1 = Instance.new("Trail", c["Right Arm"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Right Arm"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- spawn(function()
- while true do wait()
- trailbot1.Color = ColorSequence.new(ColorArray)
- end
- end)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Right Arm"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Right Arm"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Left Arm"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Left Arm"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Left Arm"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Left Arm"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2
- trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local att1 = Instance.new("Attachment", c["Torso"])
- att1.Name = "att1"
- att1.Position = Vector3.new(1, 1, 0.5)
- local att2 = Instance.new("Attachment", c["Torso"])
- att2.Name = "att2"
- att2.Position = Vector3.new(-1, 1, 0.5)
- local att3 = Instance.new("Attachment", c["Torso"])
- att3.Name = "att3"
- att3.Position = Vector3.new(1, -1, 0.5)
- local att4 = Instance.new("Attachment", c["Torso"])
- att4.Name = "att4"
- att4.Position = Vector3.new(-1, -1, 0.5)
- local attt1 = Instance.new("Attachment", c["Head"])
- attt1.Name = "att1"
- attt1.Position = Vector3.new(.55, .55, 0.025)
- local attt2 = Instance.new("Attachment", c["Head"])
- attt2.Name = "att2"
- attt2.Position = Vector3.new(-.55, .55, 0.025)
- local attt3 = Instance.new("Attachment", c["Head"])
- attt3.Name = "att3"
- attt3.Position = Vector3.new(.55, -.5, 0.025)
- local attt4 = Instance.new("Attachment", c["Head"])
- attt4.Name = "att4"
- attt4.Position = Vector3.new(-.55, -.5, 0.025)
- local trailtop1 = Instance.new("Trail", c["Torso"])
- trailtop1.Enabled = true
- trailtop1.Texture = "rbxassetid://16607923"
- trailtop1.Name = "toptrail"
- trailtop1.MinLength = 0
- trailtop1.Lifetime = 0.1
- trailtop1.Color = ColorSequence.new(ColorArray)
- trailtop1.Attachment0 = att1
- trailtop1.Attachment1 = att2
- trailtop1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot1 = Instance.new("Trail", c["Torso"])
- trailbot1.Enabled = true
- trailbot1.Texture = "rbxassetid://16607923"
- trailbot1.Name = "bottrail"
- trailbot1.MinLength = 0
- trailbot1.Lifetime = 0.1
- trailbot1.Color = ColorSequence.new(ColorArray)
- trailbot1.Attachment0 = att3
- trailbot1.Attachment1 = att4
- trailbot1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside1 = Instance.new("Trail", c["Torso"])
- trailside1.Enabled = true
- trailside1.Texture = "rbxassetid://16607923"
- trailside1.Name = "sidetrail1"
- trailside1.MinLength = 0
- trailside1.Lifetime = 0.1
- trailside1.Color = ColorSequence.new(ColorArray)
- trailside1.Attachment0 = att1
- trailside1.Attachment1 = att3
- trailside1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside2 = Instance.new("Trail", c["Torso"])
- trailside2.Enabled = true
- trailside2.Texture = "rbxassetid://16607923"
- trailside2.Name = "sidetrail2"
- trailside2.MinLength = 0
- trailside2.Lifetime = 0.1
- trailside2.Color = ColorSequence.new(ColorArray)
- trailside2.Attachment0 = att2
- trailside2.Attachment1 = att4
- trailside2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailtop12 = Instance.new("Trail", c["Head"])
- trailtop12.Enabled = true
- trailtop12.Texture = "rbxassetid://16607923"
- trailtop12.Name = "toptrail"
- trailtop12.MinLength = 0
- trailtop12.Lifetime = 0.1
- trailtop12.Color = ColorSequence.new(ColorArray)
- trailtop12.Attachment0 = attt1
- trailtop12.Attachment1 = attt2
- trailtop12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailbot2 = Instance.new("Trail", c["Head"])
- trailbot2.Enabled = true
- trailbot2.Texture = "rbxassetid://16607923"
- trailbot2.Name = "bottrail"
- trailbot2.MinLength = 0
- trailbot2.Lifetime = 0.1
- trailbot2.Color = ColorSequence.new(ColorArray)
- trailbot2.Attachment0 = attt3
- trailbot2.Attachment1 = attt4
- trailbot2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside12 = Instance.new("Trail", c["Head"])
- trailside12.Enabled = true
- trailside12.Texture = "rbxassetid://16607923"
- trailside12.Name = "sidetrail1"
- trailside12.MinLength = 0
- trailside12.Lifetime = 0.1
- trailside12.Color = ColorSequence.new(ColorArray)
- trailside12.Attachment0 = attt1
- trailside12.Attachment1 = attt3
- trailside12.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- local trailside22 = Instance.new("Trail", c["Head"])
- trailside22.Enabled = true
- trailside22.Texture = "rbxassetid://16607923"
- trailside22.Name = "sidetrail2"
- trailside22.MinLength = 0
- trailside22.Lifetime = 0.1
- trailside22.Color = ColorSequence.new(ColorArray)
- trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
- trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
- Sped = 0
- function ragplayer(cactus)
- local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://872854837" S.Volume = 2 S:Play()
- cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
- if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
- cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
- makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
- maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
- end
- if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
- cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
- makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
- maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
- end
- if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
- cactus.Torso:FindFirstChild("Right Hip"):Destroy()
- makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
- maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
- end
- if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
- cactus.Torso:FindFirstChild("Left Hip"):Destroy()
- makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
- maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
- end
- cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
- end
- function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
- function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
- local hitz = false
- c.HumanoidRootPart.Touched:connect(function(Hit)
- if thing >= 100 then
- if hitz == false then hitz = true
- ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://633129949" S.Volume = 6 S:Play()
- wait(15)
- end
- end
- end)
- function Spin()
- attack = true
- while attack == true do Sped = Sped + 0.25
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- swait()
- end
- end
- SanicScreams = {585370931,202427593}
- mouse.KeyDown:connect(function(key)
- if attack == true then return end
- if key == "q" then
- Spin()
- end
- if key == "e" then
- local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://1247863968" S.Volume = 10 S:Play()
- wait(1.25)
- local Sanic = SanicScreams[math.random(1,#SanicScreams)]
- local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://0" S.Volume = 10 S:Play()
- spawn(function()
- local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Cyan")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
- local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
- for i = 1,25 do
- SPM.Scale = SPM.Scale + Vector3.new(4,4,4)
- Sp.Transparency = Sp.Transparency + 1/25
- swait()
- end
- end)
- local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://622100551" S.Volume = 10 S:Play()
- Sped = 150
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "q" then
- attack = false
- end
- end)
- local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
- P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
- P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
- spawn(function()
- while true do
- P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
- swait()
- end
- end)
- anim.Parent = nil
- sine = 0
- game:GetService("RunService").RenderStepped:connect(function()
- if attack == false then
- thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- game.Workspace.CurrentCamera.FieldOfView = 70+thing/100
- if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
- sine = sine + 1 Sped = Sped + 0.1
- if thing <= 200 then
- if S2.PlaybackSpeed >= 1 then
- S2.PlaybackSpeed = 1
- else
- S2.PlaybackSpeed = thing/80
- end
- c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
- S2.Volume = thing/20
- end
- if thing <= 200 then
- c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
- S2.Volume = thing/20
- else
- c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
- end
- if thing <= 100 then
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- for i,v2 in pairs(v:children()) do
- if v2.ClassName == "Trail" then
- v2.Enabled = false
- v2.LightEmission = 1
- end
- end
- end
- end
- else
- for i,v in pairs(c:children()) do
- if v.ClassName == "Part" then
- for i,v2 in pairs(v:children()) do
- if v2.ClassName == "Trail" then
- v2.Lifetime = 2
- v2.Enabled = true
- end
- end
- end
- end
- end
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
- else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
- end
- for i,v in pairs (c:children()) do
- if v.ClassName == "Accessory" then
- for i,v2 in pairs (v:children()) do
- if v2.ClassName == "Part" then
- v2.Anchored = false
- end
- end
- end
- for i,v in pairs (c:children()) do
- if v.ClassName == "Part" then
- v.Anchored = false
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement