Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code V2 by Mokiros")
- local RealPlayer = RealPlayer
- script.Parent = RealPlayer.Character
- --Fake event to make stuff like Mouse.KeyDown work
- local Disconnect_Function = function(this)
- this[1].Functions[this[2]] = nil
- end
- local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
- local FakeEvent_Metatable = {__index={
- Connect = function(this,f)
- local i = tostring(math.random(0,10000))
- while this.Functions[i] do
- i = tostring(math.random(0,10000))
- end
- this.Functions[i] = f
- return setmetatable({this,i},Disconnect_Metatable)
- end
- }}
- FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
- local function fakeEvent()
- return setmetatable({Functions={}},FakeEvent_Metatable)
- end
- --Creating fake input objects with fake variables
- local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- FakeMouse.keyUp = FakeMouse.KeyUp
- FakeMouse.keyDown = FakeMouse.KeyDown
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function TriggerEvent(self,ev,...)
- for _,f in pairs(self[ev].Functions) do
- f(...)
- end
- end
- FakeMouse.TriggerEvent = TriggerEvent
- UIS.TriggerEvent = TriggerEvent
- --Client communication
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=RealPlayer then return end
- FakeMouse.Target = io.Target
- FakeMouse.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
- local Mouse = owner:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,RobloxHandled)
- if RobloxHandled then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data every second frame, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- local HB = game:GetService("RunService").Heartbeat
- while true do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- --Wait 2 frames
- for i=1,2 do
- HB:Wait()
- end
- end]==],script)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local RealGame = game
- --Metatable for fake service
- local FakeService_Metatable = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
- return setmetatable(t,FakeService_Metatable)
- end
- --Fake game object
- local FakeGame = {
- GetService = function(self,s)
- return rawget(self,s) or RealGame:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = RealGame:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
- FakeGame.service = FakeGame.GetService
- FakeService(FakeGame,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = FakeGame,FakeGame.Players.LocalPlayer
- end
- wait(1/64)
- print("--[[By Ietahuoy]]--")
- print("--[[ Creeper ]]--")
- local Plrr = game.Players.LocalPlayer
- local Mouse = Plrr:GetMouse()
- local Sinn = 0
- Plrr.Character.Animate.Parent = nil
- Plrr.Character.Humanoid.Animator.Parent = nil
- Plrr.Character.Humanoid.MaxHealth = 200
- Plrr.Character.Humanoid.Health = 200
- local Boom = false
- local E = Instance.new("Folder",Plrr.Character)
- local ws = 18
- function InstanceNW(typp,anth)
- local part = Instance.new(typp)
- if anth then
- for i,v in next, anth do
- pcall(function() part[i] = v end)
- end
- end
- return part
- end
- function Damage(what)
- if what.Parent ~= Plrr.Character and what ~= Plrr.Character and what.Parent ~= E then
- what:BreakJoints()
- local P1 = InstanceNW("Part",{Parent=E,Material=what.Material,Transparency=what.Transparency,BrickColor=what.BrickColor,Size=Vector3.new(what.Size.X,what.Size.Y/2,what.Size.Z),Anchored=false,CanCollide=true,CFrame = what.CFrame*CFrame.new(what.Size.X,what.Size.Y/4,0),RotVelocity=Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)),Velocity=Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))})
- local P2 = InstanceNW("Part",{Parent=E,Material=what.Material,Transparency=what.Transparency,BrickColor=what.BrickColor,Size=Vector3.new(what.Size.X,what.Size.Y/2,what.Size.Z),Anchored=false,CanCollide=true,CFrame = what.CFrame*CFrame.new(what.Size.X,-what.Size.Y/4,0),RotVelocity=Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)),Velocity=Vector3.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))})
- what:Destroy()
- coroutine.resume(coroutine.create(function()
- wait(math.random(6,24))
- local num = math.random(50,250)
- for i = 1, num do
- wait()
- P1.Transparency = P1.Transparency+1/num
- P2.Transparency = P2.Transparency+1/num
- end
- P1:Destroy() P2:Destroy()
- end))
- end
- end
- function Aoe(Where,Range)
- for index, a in pairs(workspace:GetDescendants()) do
- if a.Parent ~= Plrr.Character and a ~= Plrr.Character and a.Parent ~= E and a.Name ~= "Base" and a.Name ~= "Baseplate" and a.ClassName == "Part" or a.ClassName == "MeshPart" or a.ClassName == "TrussPart" or a.ClassName == "WedgePart" or a.ClassName == "CornerWedgePart" or a.ClassName == "UnionOperation" or a.ClassName == "NegateOperation" or a.ClassName == "Seat" or a.ClassName == "VehicleSeat" or a.ClassName == "SpawnLocation" then
- if (a.Position - Where).Magnitude <= Range+(a.Size/2).Magnitude then
- Damage(a)
- end
- end
- end
- end
- function Explosion()
- Boom = true
- local a = Instance.new("Sound",Plrr.Character) a.SoundId="http://www.roblox.com/asset/?id=301924340" a.Volume = 3 a:Play()
- ws = 22
- for i = 1, 7 do
- wait(0.2)
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E then
- v.BrickColor = BrickColor.new("Institutional white")
- v.Material = "Neon"
- end
- end
- wait(0.2)
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E then
- v.BrickColor = BrickColor.new("Shamrock")
- v.Material = "Marble"
- end
- end
- end
- for i = 1, 15 do
- wait()
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E then
- v.BrickColor = BrickColor.new("Institutional white")
- v.Material = "Neon"
- v.Size = v.Size*1.015
- end
- end
- end
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E and v ~= Plrr.Character.HumanoidRootPart then
- v.Transparency = 1
- end
- end
- Plrr.Character.Head.face.Transparency = 1
- for i = 1, 15 do
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E then
- v.BrickColor = BrickColor.new("Shamrock")
- v.Material = "Marble"
- v.Size = v.Size/1.015
- end
- end
- end
- ws = 0
- Aoe(Plrr.Character.HumanoidRootPart.Position,14)
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter0.Parent = Plrr.Character.HumanoidRootPart
- ParticleEmitter0.Rotation = NumberRange.new(-50, 50)
- ParticleEmitter0.Size = NumberSequence.new(0.18750011920929,2.9375,1.1874997615814,0)
- ParticleEmitter0.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
- ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- ParticleEmitter0.LightEmission = 0.60000002384186
- ParticleEmitter0.Texture = "rbxassetid://941626301"
- ParticleEmitter0.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter0.Rate = 2000
- ParticleEmitter0.RotSpeed = NumberRange.new(-110, 110)
- ParticleEmitter0.Speed = NumberRange.new(9, 9)
- ParticleEmitter0.VelocitySpread = 360
- ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0, 0))
- ParticleEmitter0.Drag = 0.75
- coroutine.resume(coroutine.create(function()
- wait(1)
- ParticleEmitter0.Enabled = false
- wait(3)
- ParticleEmitter0:Destroy()
- end))
- for i = 1, 5 do
- coroutine.resume(coroutine.create(function()
- local Cframe = Plrr.Character.HumanoidRootPart.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- local effectpart = Instance.new("Part",E)Instance.new("SpecialMesh",effectpart).MeshType = "Sphere"
- effectpart.Size = Vector3.new(2,2,2)
- effectpart.CFrame = Cframe
- effectpart.Anchored = true
- effectpart.CanCollide = false
- effectpart.Massless = true
- effectpart.Material = "Neon"
- effectpart.Color = Color3.fromRGB(255/(i/5),255/(i/5),255/(i/5))
- for i = 1, 50 do
- wait()
- effectpart.Size = effectpart.Size*Vector3.new(1.1,1.1,1.1)
- effectpart.Transparency = effectpart.Transparency + 1/25
- effectpart.CFrame = Cframe
- end
- effectpart:destroy()
- end))
- end
- coroutine.resume(coroutine.create(function()
- local effectpart = Instance.new("Part",E)Instance.new("SpecialMesh",effectpart).MeshType = "Sphere"
- effectpart.Size = Vector3.new(4,4,4)
- effectpart.CFrame = Plrr.Character.HumanoidRootPart.CFrame
- effectpart.Anchored = true
- effectpart.CanCollide = false
- effectpart.Massless = true
- effectpart.Material = "Neon"
- effectpart.Color = Color3.fromRGB(255,255,255)
- for i = 1, 75 do
- wait()
- effectpart.Size = effectpart.Size*Vector3.new(1.05,1.05,1.05)
- effectpart.Transparency = effectpart.Transparency + 1/50
- effectpart.CFrame = Plrr.Character.HumanoidRootPart.CFrame
- end
- effectpart:destroy()
- end))
- local fakehead = Instance.new("Part",E) fakehead.Anchored = false fakehead.BrickColor = BrickColor.new("Shamrock") fakehead.Material = "Marble" fakehead.CanCollide = true fakehead.Size = Plrr.Character.Head.Size
- fakehead.CFrame = Plrr.Character.Head.CFrame fakehead.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local fakeface = Instance.new("Decal",fakehead) fakeface.Face = "Front" fakeface.Texture = "http://www.roblox.com/asset/?id=2582561835"
- local faketorso = Instance.new("Part",E) faketorso.Anchored = false faketorso.BrickColor = BrickColor.new("Shamrock") faketorso.Material = "Marble" faketorso.CanCollide = true faketorso.Size = Plrr.Character.Torso.Size
- faketorso.CFrame = Plrr.Character.Torso.CFrame faketorso.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local fakerarm = Instance.new("Part",E) fakerarm.Anchored = false fakerarm.BrickColor = BrickColor.new("Shamrock") fakerarm.Material = "Marble" fakerarm.CanCollide = true fakerarm.Size = Plrr.Character:FindFirstChild("Right Arm").Size
- fakerarm.CFrame = Plrr.Character:FindFirstChild("Right Arm").CFrame fakerarm.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local fakelarm = Instance.new("Part",E) fakelarm.Anchored = false fakelarm.BrickColor = BrickColor.new("Shamrock") fakelarm.Material = "Marble" fakelarm.CanCollide = true fakelarm.Size = Plrr.Character:FindFirstChild("Left Arm").Size
- fakelarm.CFrame = Plrr.Character:FindFirstChild("Left Arm").CFrame fakelarm.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local fakerleg = Instance.new("Part",E) fakerleg.Anchored = false fakerleg.BrickColor = BrickColor.new("Shamrock") fakerleg.Material = "Marble" fakerleg.CanCollide = true fakerleg.Size = Plrr.Character:FindFirstChild("Right Leg").Size
- fakerleg.CFrame = Plrr.Character:FindFirstChild("Right Leg").CFrame fakerleg.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local fakelleg = Instance.new("Part",E) fakelleg.Anchored = false fakelleg.BrickColor = BrickColor.new("Shamrock") fakelleg.Material = "Marble" fakelleg.CanCollide = true fakelleg.Size = Plrr.Character:FindFirstChild("Left Leg").Size
- fakelleg.CFrame = Plrr.Character:FindFirstChild("Left Leg").CFrame fakelleg.Velocity = Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- wait(4)
- fakehead.CanCollide = false fakehead.Anchored = true
- faketorso.CanCollide = false faketorso.Anchored = true
- fakerarm.CanCollide = false fakerarm.Anchored = true
- fakelarm.CanCollide = false fakelarm.Anchored = true
- fakerleg.CanCollide = false fakerleg.Anchored = true
- fakelleg.CanCollide = false fakelleg.Anchored = true
- for i = 1, 50 do
- wait()
- fakehead.CFrame = fakehead.CFrame:lerp(Plrr.Character.Head.CFrame,0.125)
- faketorso.CFrame = faketorso.CFrame:lerp(Plrr.Character.Torso.CFrame,0.125)
- fakerarm.CFrame = fakerarm.CFrame:lerp(Plrr.Character:FindFirstChild("Right Arm").CFrame,0.125)
- fakelarm.CFrame = fakelarm.CFrame:lerp(Plrr.Character:FindFirstChild("Left Arm").CFrame,0.125)
- fakerleg.CFrame = fakerleg.CFrame:lerp(Plrr.Character:FindFirstChild("Right Leg").CFrame,0.125)
- fakelleg.CFrame = fakelleg.CFrame:lerp(Plrr.Character:FindFirstChild("Left Leg").CFrame,0.125)
- end
- fakehead:Destroy() faketorso:Destroy() fakerarm:Destroy() fakelarm:Destroy() fakerleg:Destroy() fakelleg:Destroy()
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E and v ~= Plrr.Character.HumanoidRootPart then
- v.Transparency = 0
- end
- end
- Plrr.Character.Head.face.Transparency = 0
- ws = 18
- Boom = false
- end
- Mouse.KeyDown:Connect(function(kkk)
- if kkk == "e" and Boom == false then
- Explosion()
- end
- end)
- while true do
- wait()
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Graphic Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Plrr.Character:children()) do
- if v:IsA("BasePart") and v.Parent ~= E and Boom == false then
- v.BrickColor = BrickColor.new("Shamrock")
- v.Material = "Marble"
- end
- end
- if Plrr.Character.Head.face.Texture ~= "http://www.roblox.com/asset/?id=2582561835" then
- Plrr.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=2582561835"
- end
- if Plrr.Character.Head:FindFirstChild("Mesh") ~= nil then
- Plrr.Character.Head:FindFirstChild("Mesh"):Destroy()
- Plrr.Character.Head.Size = Vector3.new(1.25,1.25,1.25)
- end
- Sinn=Sinn+(2/3)
- local h,p = workspace:FindPartOnRay(Ray.new(Plrr.Character.HumanoidRootPart.Position, (CFrame.new(Plrr.Character.HumanoidRootPart.Position,Plrr.Character.HumanoidRootPart.Position+Vector3.new(0,-1,0))).lookVector.unit * 4), Plrr.Character)
- if (Plrr.Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude < 1 and h ~= nil then
- Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(95-5*math.sin(Sinn/12)),math.rad(180),0),1/3)
- Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.075*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(80),math.rad(180),0),1/3)
- Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.075*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10),math.rad(80),0),1/3)
- Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.075*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10),math.rad(-80),0),1/3)
- Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.075*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10),math.rad(-80),0),1/3)
- Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.075*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10),math.rad(80),0),1/3)
- elseif (Plrr.Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 and h ~= nil then
- Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(95-5*math.sin(Sinn/12)),math.rad(180+2.5*math.sin(Sinn/12)),math.rad(0-2.5*math.sin(Sinn/12))),1/3)
- Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(80+2.5*math.sin(Sinn/12)),math.rad(180-2.5*math.sin(Sinn/12)),math.rad(0+2.5*math.sin(Sinn/12))),1/3)
- Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10-25*math.sin(Sinn/3)),math.rad(80-5*math.sin(Sinn/3)),0),1/3)
- Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(10+25*math.sin(Sinn/3)),math.rad(-80+5*math.sin(Sinn/3)),0),1/3)
- Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10+25*math.sin(Sinn/3)),math.rad(-80+5*math.sin(Sinn/3)),0),1/3)
- Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(10-25*math.sin(Sinn/3)),math.rad(80-5*math.sin(Sinn/3)),0),1/3)
- elseif Plrr.Character.HumanoidRootPart.Velocity.y > 1 and h == nil then
- Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(85-5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
- Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(90+2.5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
- Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(0+5*math.sin(Sinn/3)),math.rad(70),0),1/3)
- Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(0+5*math.sin(Sinn/3)),math.rad(-70),0),1/3)
- Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(20-5*math.sin(Sinn/3)),math.rad(-70),0),1/3)
- Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(20-5*math.sin(Sinn/3)),math.rad(70),0),1/3)
- elseif Plrr.Character.HumanoidRootPart.Velocity.y < -1 and h == nil then
- Plrr.Character.Torso["Neck"].C0 = Plrr.Character.Torso["Neck"].C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(90-5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
- Plrr.Character.HumanoidRootPart.RootJoint.C0 = Plrr.Character.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,0+0.025*math.sin(Sinn/12),0)*CFrame.Angles(math.rad(85+2.5*math.sin(Sinn/12)),math.rad(180),math.rad(0)),1/3)
- Plrr.Character.Torso["Right Hip"].C0 = Plrr.Character.Torso["Right Hip"].C0:lerp(CFrame.new(1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(35+5*math.sin(Sinn/3)),math.rad(85),0),1/3)
- Plrr.Character.Torso["Left Hip"].C0 = Plrr.Character.Torso["Left Hip"].C0:lerp(CFrame.new(-1,-1-0.025*math.sin(Sinn/12),-0.5)*CFrame.Angles(math.rad(35+5*math.sin(Sinn/3)),math.rad(-85),0),1/3)
- Plrr.Character.Torso["Right Shoulder"].C0 = Plrr.Character.Torso["Right Shoulder"].C0:lerp(CFrame.new(1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(-35-5*math.sin(Sinn/3)),math.rad(-85),0),1/3)
- Plrr.Character.Torso["Left Shoulder"].C0 = Plrr.Character.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1,-1.65-0.025*math.sin(Sinn/12),0.4)*CFrame.Angles(math.rad(-35-5*math.sin(Sinn/3)),math.rad(85),0),1/3)
- end
- for _, c in pairs(Plrr.Character:GetChildren()) do if c:IsA("BasePart") and c ~= Plrr.Character.HumanoidRootPart then c.Anchored = false end end Plrr.Character.Humanoid.WalkSpeed = ws
- Plrr.Character.Humanoid.PlatformStand=false Plrr.Character.Humanoid.MaxHealth = 200 Plrr.Character.Humanoid.DisplayDistanceType = "None"
- if Plrr.Character:FindFirstChildOfClass("ForceField")then Plrr.Character:FindFirstChildOfClass("ForceField").Visible=false else InstanceNW("ForceField",{Parent=Plrr.Character,Name=""})end
- Plrr.Character.Humanoid:SetStateEnabled("GettingUp",true)Plrr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)Plrr.Character.Humanoid:SetStateEnabled("Ragdoll",false) Plrr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
- end
Add Comment
Please, Sign In to add comment