Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local accessorylimbs={
- {meshid="11263221350",textureid="11263219250",C0=angles(1.5707963267948966,0,1.5707963267948966),Name="Left Arm"},
- {meshid="11159370334",textureid="11159284657",C0=angles(-1.5707963267948966,0,1.5707963267948966),Name="Right Arm"},
- {meshid="14255522247",textureid="",C0=angles(1.5707963267948966,0,1.5707963267948966),Name="Left Arm"},
- {meshid="14255522247",textureid="",C0=angles(-1.5707963267948966,0,1.5707963267948966),Name="Right Arm"},
- {meshid="12344207333",textureid="",C0=angles(2,0,0),Name="Left Arm"},
- {meshid="12344206657",textureid="",C0=angles(2,0,0),Name="Right Arm"},
- {meshid="11159370334",textureid="11159285454",C0=angles(1.5707963267948966,0,1.5707963267948966),Name="Left Leg"},
- {meshid="12652772399",textureid="12652775021",C0=cf(0,-0.125,0),Name="Right Leg"},
- {meshid="14768684979",textureid="",C0=angles(0,0,1.5707963267948966),Name="Left Leg"},
- {meshid="14768684979",textureid="",C0=angles(0,0,1.5707963267948966),Name="Right Leg"},
- {meshid="14768666349",textureid="",C0=cf_0,Name="Torso"},
- {meshid="14241018198",textureid="",C0=cf_0,Name="Torso"},
- {meshid="13421774668",textureid="",C0=cf_0,Name="Torso"},
- {meshid="4324138105",textureid="4324138210",C0=angles(-1.6144295580947547,1.5707963267948966,0)*cf(-0.125,0.3,0),Name="Left Arm"},
- {meshid="4154474745",textureid="4154474807",C0=angles(1.5271630954950384,-1.5707963267948966,0)*cf(-0.125,-0.3,0),Name="Left Arm"},
- {meshid="3030546036",textureid="3650191503",C0=angles(1.5271630954950384,1.5707963267948966,0)*cf(0.125,-0.3,0),Name="Right Arm"},
- {meshid="3030546036",textureid="3443321249",C0=angles(-1.6144295580947547,-1.5707963267948966,0)*cf(0.125,0.3,0),Name="Right Arm"},
- {meshid="3030546036",textureid="3360974849",C0=angles(1.5271630954950384,1.5707963267948966,0)*cf(-0.125,-0.35,0),Name="Left Leg"},
- {meshid="3030546036",textureid="3360978739",C0=angles(-1.6144295580947547,-1.5707963267948966,0)*cf(-0.125,0.3,0),Name="Left Leg"},
- {meshid="3030546036",textureid="3033898741",C0=angles(1.5271630954950384,-1.5707963267948966,0)*cf(0.125,-0.35,0),Name="Right Leg"},
- {meshid="3030546036",textureid="3409604993",C0=angles(-1.6144295580947547,1.5707963267948966,0)*cf(0.125,0.3,0),Name="Right Leg"},
- {meshid="4819720316",textureid="4819722776",C0=angles(0,0,0.2617993877991494),Name="Torso"}
- }
- function Reanimate(Character)
- --Character:FindFirstChildOfClass("Humanoid").RootPart.CFrame=FC:FindFirstChildOfClass("Humanoid").RootPart.CFrame*cf(rand(-30,30),rand(-30,30),rand(-30,30)
- Character:FindFirstChildOfClass("Humanoid").RootPart.CFrame=hrp.CFrame*cf(rand(-10, 10), 0, rand(-10, 10)) * angles(rad(90), 0 , 0)
- for _, x in pairs(Character:GetChildren()) do
- if x:IsA("BasePart") then
- x.CanCollide=false x.CanTouch=false x.CanQuery=false x.Transparency=1
- x.Massless=true
- end
- if x:IsA("Accessory") and x:FindFirstChildOfClass("Part") then
- local Handle=x:WaitForChild("Handle")
- local SpecialMesh = Handle:FindFirstChildOfClass("SpecialMesh")
- local TX,MS = SpecialMesh.TextureId, SpecialMesh.MeshId
- local ReanHandle=nil
- Handle:BreakJoints()
- for _, x in pairs(FC:GetDescendants()) do
- if x:IsA("SpecialMesh") then
- if x.MeshId == MS and x.TextureId == TX then
- ReanHandle=x.Parent
- end
- end
- end
- if ReanHandle ~= nil then
- local Cone=nil
- Cone=Rs.Heartbeat:Connect(function()
- if (Handle and ReanHandle) ~= nil then
- if Handle.ReceiveAge == 0 then
- Handle.RotVelocity = v3(sin(cl()*15), sin(cl()*15+1.047), sin(cl()*15+2.094))
- Handle.Velocity=v3(0,NetOptions.DefaultYVelocity,0)+ReanHandle.Velocity*v3(NetOptions.AntiJitterValue,0,NetOptions.AntiJitterValue)
- Handle.CanCollide=false
- Handle.CFrame = ReanHandle.CFrame + v3(0.0015*sin(cl()*15), 0.0015*sin(cl()*15+1.047), 0.0015*sin(cl()*15+2.094))
- --Handle.CFrame = ReanHandle.CFrame + v3(0.003*sin(cl()*15), 0.003*sin(cl()*15+1.047), 0.003*sin(cl()*15+2.094))
- end
- --Handle.CFrame= ReanHandle.CFrame + v3(0.02*sin(cl()*15), 0.02*sin(cl()*15+1.047), 0.02*sin(cl()*15+2.094))
- end
- end)
- table.insert(HeartbeatTable, Cone)
- end
- end
- end
- Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead,true)
- Character:FindFirstChildOfClass("Humanoid").Health=0
- end
- Ch:FindFirstChildOfClass("Humanoid").RootPart.CFrame=hrp.CFrame*cf(rand(-10, 10), 0, rand(-10, 10)) * angles(rad(90), 0 , 0)
- task.wait(0.025)
- Reanimate(Ch)
- Pl.Character=FC
- workspace.CurrentCamera.CameraSubject=FC
- local ReanCon = Pl.CharacterAdded:Connect(function(MOD)
- if MOD ~= FC then
- Cam.CameraSubject=hum
- task.spawn(function()
- if vrs.VREnabled == false then
- Cam:GetPropertyChangedSignal("CFrame"):Wait()
- Cam.CFrame = CurrentCameraCFrame
- end
- end)
- for _, x in pairs(MOD:GetDescendants()) do
- if x:IsA("BasePart") and x.Parent.ClassName ~= "Accessory" then
- x.Size=v3(0.001,0.001,0.001)
- x.CanCollide=false
- x.Velocity=v3(0,0,0)
- end
- end
- for _, x in pairs(HeartbeatTable) do
- if x then
- x:Disconnect()
- x=nil
- end
- end
- MOD:WaitForChild("Humanoid")
- task.wait()
- Cam.CameraSubject=hum
- task.spawn(function()
- Cam:GetPropertyChangedSignal("CFrame"):Wait()
- Cam.CFrame = CurrentCameraCFrame
- end)
- Pl.Character=FC
- Ch=MOD
- local Root=MOD:WaitForChild("HumanoidRootPart")
- local PepperStepper = Rs.RenderStepped:Connect(function()
- for _, x in pairs(MOD:GetDescendants()) do
- if x:IsA("BasePart") then
- x.Size=v3(0.001,0.001,0.001)
- x.CanCollide=false x.CanTouch=false x.CanQuery=false
- x.Velocity=v3(0,0,0) x.Transparency=1
- end
- end
- end)
- for _, x in pairs(MOD:GetChildren()) do
- if x:IsA("BasePart") then
- x.CanCollide=false
- x.CFrame=hrp.CFrame
- x.Velocity=v3(0,0,0)
- end
- if x:IsA("ForceField") then
- x:Destroy()
- end
- end
- if FlingOptions.FlingEnabled == true then
- for _, x in pairs(Fling) do
- if x:IsA("Humanoid") and x.Parent ~= nil and x ~= nil then
- local hl=x.Parent:FindFirstChildOfClass("Highlight")
- if hl then
- hl:Destroy()
- end
- local XRoot=x.RootPart
- for i=1, 50 do
- if x then
- for _, x in pairs(MOD:GetDescendants()) do
- if x:IsA("BasePart") then
- x.Size=v3(0.001,0.001,0.001)
- end
- end
- if x.RootPart ~= nil then
- if Root.CFrame.Y > workspace.FallenPartsDestroyHeight * 200 and x.RootPart.Velocity.Magnitude < x.WalkSpeed * x.JumpHeight then
- Rs.Heartbeat:Wait()
- if x.RootPart ~= nil then
- if x.RootPart.Velocity.Magnitude > x.WalkSpeed - 2 then
- Root.RotVelocity=v3(8500, 6500, 8500)
- Root.CFrame=XRoot.CFrame*cf(rand(-x.WalkSpeed / 4, x.WalkSpeed / 4),rand(-x.WalkSpeed / 4, x.WalkSpeed / 4),rand(-x.WalkSpeed / 4, x.WalkSpeed / 4)) + v3(0.004*sin(cl()*15), 0.004*sin(cl()*15+1.047), 0.004*sin(cl()*15+2.094))
- else
- Root.RotVelocity=v3(8500, 6500, 8500)
- Root.CFrame=x.RootPart.CFrame + v3(0.004*sin(cl()*15), 0.004*sin(cl()*15+1.047), 0.004*sin(cl()*15+2.094))
- end
- end
- else
- Root.CFrame=hrp.CFrame*cf(0, 5, 0)
- Root.Velocity=v3(0,0,0)
- Root.RotVelocity=v3(0,0,0)
- end
- end
- end
- end
- end
- end
- if Root.Velocity.Magnitude > 150 then
- for i=1, 20 do
- Rs.RenderStepped:Wait()
- Root.CFrame=hrp.CFrame*cf(0, 5, 0)
- Root.Velocity=v3(0,0,0)
- Root.RotVelocity=v3(0,0,0)
- end
- end
- end
- table.clear(Fling)
- Root.CFrame=hrp.CFrame*cf(rand(-10, 10), 0, rand(-10, 10)) * angles(rad(90), 0 , 0)
- task.wait(0.025)
- Reanimate(MOD)
- PepperStepper:Disconnect()
- PepperStepper=nil
- wait(game.Players.RespawnTime-0.000001)
- CurrentCameraCFrame = Cam.CFrame
- end
- end)
- local head = gp(c, "Head", "BasePart")
- local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
- local root = gp(c, "HumanoidRootPart", "BasePart")
- if hatcollide and c:FindFirstChildOfClass("Accessory") then
- local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
- if not (torso and root and anything) then
- return
- end
- torso:Destroy()
- root:Destroy()
- if shp then
- for i,v in pairs(c:GetChildren()) do
- if v:IsA("Accessory") then
- shp(v, "BackendAccoutrementState", 0)
- end
- end
- end
- anything:Destroy()
- end
- local model = Instance.new("Model", c)
- model.Name = model.ClassName
- model:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (model and model.Parent) then
- model = nil
- end
- end)
- for i, v in pairs(c:GetChildren()) do
- if v ~= model then
- if addtools and v:IsA("Tool") then
- for i1, v1 in pairs(v:GetDescendants()) do
- if v1 and v1.Parent and v1:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity", v1)
- bv.Velocity = v3_0
- bv.MaxForce = v3(1000, 1000, 1000)
- bv.P = 1250
- bv.Name = "bv_" .. v.Name
- end
- end
- end
- v.Parent = model
- end
- end
- if breakjoints then
- model:BreakJoints()
- else
- if head and torso then
- for i, v in pairs(model:GetDescendants()) do
- if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
- local save = false
- if (v.Part0 == torso) and (v.Part1 == head) then
- save = true
- end
- if (v.Part0 == head) and (v.Part1 == torso) then
- save = true
- end
- if save then
- if hedafterneck then
- hedafterneck = v
- end
- else
- v:Destroy()
- end
- end
- end
- end
- if method == 3 then
- spawn(function()
- wait(loadtime)
- if model then
- model:BreakJoints()
- end
- end)
- end
- end
- cl.Parent = c
- for i, v in pairs(cl:GetChildren()) do
- v.Parent = c
- end
- cl:Destroy()
- local noclipmodel = (noclipAllParts and c) or model
- local noclipcon = nil
- local function uncollide()
- if noclipmodel then
- for i, v in pairs(noclipmodel:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- else
- noclipcon:Disconnect()
- end
- end
- noclipcon = stepped:Connect(uncollide)
- uncollide()
- for i, scr in pairs(model:GetDescendants()) do
- if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
- local Part0 = scr.Parent
- if Part0:IsA("BasePart") then
- for i1, scr1 in pairs(c:GetDescendants()) do
- if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
- local Part1 = scr1.Parent
- if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
- align(Part0, Part1)
- scr:Destroy()
- scr1:Destroy()
- break
- end
- end
- end
- end
- end
- end
- for i, v in pairs(c:GetDescendants()) do
- if v and v.Parent and (not v:IsDescendantOf(model)) then
- if v:IsA("Decal") then
- v.Transparency = 1
- elseif v:IsA("BasePart") then
- v.Transparency = 1
- v.Anchored = false
- elseif v:IsA("ForceField") then
- v.Visible = false
- elseif v:IsA("Sound") then
- v.Playing = false
- elseif v:IsA("BillboardGui") or v:IsA("SurfaceGui") or v:IsA("ParticleEmitter") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- end
- end
- end
- if newanimate then
- local animate = gp(c, "Animate", "LocalScript")
- if animate then
- animate.Disabled = false
- end
- end
- if addtools then
- for i, v in pairs(c:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = addtools
- end
- end
- end
- local hum0 = model:FindFirstChildOfClass("Humanoid")
- if hum0 then
- hum0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (hum0 and hum0.Parent) then
- hum0 = nil
- end
- end)
- end
- local hum1 = c:FindFirstChildOfClass("Humanoid")
- if hum1 then
- hum1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (hum1 and hum1.Parent) then
- hum1 = nil
- end
- end)
- ws.CurrentCamera.CameraSubject = hum1
- local camSubCon = nil
- local function camSubFunc()
- camSubCon:Disconnect()
- if c and hum1 then
- ws.CurrentCamera.CameraSubject = hum1
- end
- end
- camSubCon = renderstepped:Connect(camSubFunc)
- if hum0 then
- hum0:GetPropertyChangedSignal("Jump"):Connect(function()
- if hum1 then
- hum1.Jump = hum0.Jump
- end
- end)
- else
- respawnrequest()
- end
- end
- local rb = Instance.new("BindableEvent", c)
- rb.Event:Connect(function()
- rb:Destroy()
- sg:SetCore("ResetButtonCallback", true)
- if destroyhum then
- c:BreakJoints()
- return
- end
- if hum0 and (hum0.Health > 0) then
- model:BreakJoints()
- hum0.Health = 0
- end
- if antirespawn then
- respawnrequest()
- end
- end)
- sg:SetCore("ResetButtonCallback", rb)
- spawn(function()
- while c do
- if hum0 and hum1 then
- hum1.Jump = hum0.Jump
- end
- wait()
- end
- sg:SetCore("ResetButtonCallback", true)
- end)
- R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
- if R15toR6 then
- local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
- if part then
- local cfr = part.CFrame
- local R6parts = {
- head = {
- Name = "Head",
- Size = v3(2, 1, 1),
- R15 = {
- Head = 0
- }
- },
- torso = {
- Name = "Torso",
- Size = v3(2, 2, 1),
- R15 = {
- UpperTorso = 0.2,
- LowerTorso = -0.8
- }
- },
- root = {
- Name = "HumanoidRootPart",
- Size = v3(2, 2, 1),
- R15 = {
- HumanoidRootPart = 0
- }
- },
- leftArm = {
- Name = "Left Arm",
- Size = v3(1, 2, 1),
- R15 = {
- LeftHand = -0.849,
- LeftLowerArm = -0.174,
- LeftUpperArm = 0.415
- }
- },
- rightArm = {
- Name = "Right Arm",
- Size = v3(1, 2, 1),
- R15 = {
- RightHand = -0.849,
- RightLowerArm = -0.174,
- RightUpperArm = 0.415
- }
- },
- leftLeg = {
- Name = "Left Leg",
- Size = v3(1, 2, 1),
- R15 = {
- LeftFoot = -0.85,
- LeftLowerLeg = -0.29,
- LeftUpperLeg = 0.49
- }
- },
- rightLeg = {
- Name = "Right Leg",
- Size = v3(1, 2, 1),
- R15 = {
- RightFoot = -0.85,
- RightLowerLeg = -0.29,
- RightUpperLeg = 0.49
- }
- }
- }
- for i, v in pairs(c:GetChildren()) do
- if v:IsA("BasePart") then
- for i1, v1 in pairs(v:GetChildren()) do
- if v1:IsA("Motor6D") then
- v1.Part0 = nil
- end
- end
- end
- end
- part.Archivable = true
- for i, v in pairs(R6parts) do
- local part = part:Clone()
- part:ClearAllChildren()
- part.Name = v.Name
- part.Size = v.Size
- part.CFrame = cfr
- part.Anchored = false
- part.Transparency = 1
- part.CanCollide = false
- for i1, v1 in pairs(v.R15) do
- local R15part = gp(c, i1, "BasePart")
- local att = gp(R15part, "att1_" .. i1, "Attachment")
- if R15part then
- local weld = Instance.new("Weld", R15part)
- weld.Name = "Weld_" .. i1
- weld.Part0 = part
- weld.Part1 = R15part
- weld.C0 = cf(0, v1, 0)
- weld.C1 = cf(0, 0, 0)
- R15part.Massless = true
- R15part.Name = "R15_" .. i1
- R15part.Parent = part
- if att then
- att.Parent = part
- att.Position = v3(0, v1, 0)
- end
- end
- end
- part.Parent = c
- R6parts[i] = part
- end
- local R6joints = {
- neck = {
- Parent = R6parts.torso,
- Name = "Neck",
- Part0 = R6parts.torso,
- Part1 = R6parts.head,
- C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- },
- rootJoint = {
- Parent = R6parts.root,
- Name = "RootJoint" ,
- Part0 = R6parts.root,
- Part1 = R6parts.torso,
- C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- },
- rightShoulder = {
- Parent = R6parts.torso,
- Name = "Right Shoulder",
- Part0 = R6parts.torso,
- Part1 = R6parts.rightArm,
- C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
- C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- },
- leftShoulder = {
- Parent = R6parts.torso,
- Name = "Left Shoulder",
- Part0 = R6parts.torso,
- Part1 = R6parts.leftArm,
- C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- },
- rightHip = {
- Parent = R6parts.torso,
- Name = "Right Hip",
- Part0 = R6parts.torso,
- Part1 = R6parts.rightLeg,
- C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
- C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- },
- leftHip = {
- Parent = R6parts.torso,
- Name = "Left Hip" ,
- Part0 = R6parts.torso,
- Part1 = R6parts.leftLeg,
- C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- }
- }
- for i, v in pairs(R6joints) do
- local joint = Instance.new("Motor6D")
- for prop, val in pairs(v) do
- joint[prop] = val
- end
- R6joints[i] = joint
- end
- if hum1 then
- hum1.RigType = Enum.HumanoidRigType.R6
- hum1.HipHeight = 0
- end
- end
- end
- local torso1 = torso
- torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
- if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
- local conNeck = nil
- local conTorso = nil
- local contorso1 = nil
- local aligns = {}
- local function enableAligns()
- conNeck:Disconnect()
- conTorso:Disconnect()
- conTorso1:Disconnect()
- for i, v in pairs(aligns) do
- v.Enabled = true
- end
- end
- conNeck = hedafterneck.Changed:Connect(function(prop)
- if table.find({"Part0", "Part1", "Parent"}, prop) then
- enableAligns()
- end
- end)
- conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
- conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
- for i, v in pairs(head:GetDescendants()) do
- if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
- i = tostring(i)
- aligns[i] = v
- v:GetPropertyChangedSignal("Parent"):Connect(function()
- aligns[i] = nil
- end)
- v.Enabled = false
- end
- end
- end
- local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
- local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
- local fling = function() end
- if flingpart0 and flingpart1 then
- flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart0 and flingpart0.Parent) then
- flingpart0 = nil
- fling = function() end
- end
- end)
- flingpart0.Archivable = true
- flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart1 and flingpart1.Parent) then
- flingpart1 = nil
- fling = function() end
- end
- end)
- local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
- local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
- if att0 and att1 then
- att0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (att0 and att0.Parent) then
- att0 = nil
- fling = function() end
- end
- end)
- att1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (att1 and att1.Parent) then
- att1 = nil
- fling = function() end
- end
- end)
- local lastfling = nil
- local mouse = lp:GetMouse()
- fling = function(target, duration, rotVelocity)
- if typeof(target) == "Instance" then
- if target:IsA("BasePart") then
- target = target.Position
- elseif target:IsA("Model") then
- target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
- if target then
- target = target.Position
- else
- return
- end
- elseif target:IsA("Humanoid") then
- local parent = target.Parent
- if not (parent and parent:IsA("Model")) then
- return
- end
- target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
- if target then
- target = target.Position
- else
- return
- end
- else
- return
- end
- elseif typeof(target) == "CFrame" then
- target = target.Position
- elseif typeof(target) ~= "Vector3" then
- target = mouse.Hit
- if target then
- target = target.Position
- else
- return
- end
- end
- lastfling = target
- if type(duration) ~= "number" then
- duration = tonumber(duration) or 0.5
- end
- if typeof(rotVelocity) ~= "Vector3" then
- rotVelocity = v3(20000, 20000, 20000)
- end
- if not (target and flingpart0 and flingpart1 and att0 and att1) then
- return
- end
- local flingpart = flingpart0:Clone()
- flingpart.Transparency = 1
- flingpart.Size = v3(0.01, 0.01, 0.01)
- flingpart.CanCollide = false
- flingpart.Name = "flingpart_" .. flingpart0.Name
- flingpart.Anchored = true
- flingpart.Velocity = v3_0
- flingpart.RotVelocity = v3_0
- flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart and flingpart.Parent) then
- flingpart = nil
- end
- end)
- flingpart.Parent = flingpart1
- if flingpart0.Transparency > 0.5 then
- flingpart0.Transparency = 0.5
- end
- att1.Parent = flingpart
- for i, v in pairs(att0:GetChildren()) do
- if v:IsA("AlignOrientation") then
- v.Enabled = false
- end
- end
- local con = nil
- con = heartbeat:Connect(function()
- if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
- flingpart0.RotVelocity = rotVelocity
- flingpart.Position = target
- else
- con:Disconnect()
- end
- end)
- local rsteppedRotVel = v3(
- ((rotVelocity.X > 0) and -1) or 1,
- ((rotVelocity.Y > 0) and -1) or 1,
- ((rotVelocity.Z > 0) and -1) or 1
- )
- local con = nil
- con = renderstepped:Connect(function()
- if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
- flingpart0.RotVelocity = rsteppedRotVel
- flingpart.Position = target
- else
- con:Disconnect()
- end
- end)
- wait(duration)
- if lastfling ~= target then
- if flingpart then
- if att1 and (att1.Parent == flingpart) then
- att1.Parent = flingpart1
- end
- flingpart:Destroy()
- end
- return
- end
- target = nil
- if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
- return
- end
- flingpart0.RotVelocity = v3_0
- att1.Parent = flingpart1
- for i, v in pairs(att0:GetChildren()) do
- if v:IsA("AlignOrientation") then
- v.Enabled = true
- end
- end
- if flingpart then
- flingpart:Destroy()
- end
- end
- end
- 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
- speed = 1
- sine = 1
- srv = game:GetService('RunService')
- reanim = game.Players.LocalPlayer.Character
- function hat(h,p,c1,c0,m)
- reanim[h].Handle.AccessoryWeld.Part1=reanim[p]
- reanim[h].Handle.AccessoryWeld.C1=c1 or CFrame.new()
- reanim[h].Handle.AccessoryWeld.C0=reanim[h].Handle.AccessoryWeld.C0:Lerp(c0 or CFrame.new(),1)
- if m == true then
- rmesh(h)
- end
- end
- m=game.Players.LocalPlayer:GetMouse()
- RJ = reanim.HumanoidRootPart.RootJoint
- RS = reanim.Torso['Right Shoulder']
- LS = reanim.Torso['Left Shoulder']
- RH = reanim.Torso['Right Hip']
- LH = reanim.Torso['Left Hip']
- Root = reanim.HumanoidRootPart
- NECK = reanim.Torso.Neck
- NECK.C0 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- NECK.C1 = CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RJ.C1 = CF(0,-1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RJ.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- LS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- LH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- LH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- RS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- LS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
- -- for modes u can go in this link : https://Nexo.notxeneon15.repl.co/nexo/modes.lua
- coroutine.wrap(function()
- while true do -- anim changer
- if HumanDied then break end
- sine = sine + speed
- local rlegray = Ray.new(reanim["Right Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
- local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
- local llegray = Ray.new(reanim["Left Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
- local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
- local rightvector = (Root.Velocity * Root.CFrame.rightVector).X + (Root.Velocity * Root.CFrame.rightVector).Z
- local lookvector = (Root.Velocity * Root.CFrame.lookVector).X + (Root.Velocity * Root.CFrame.lookVector).Z
- if lookvector > reanim.Humanoid.WalkSpeed then
- lookvector = reanim.Humanoid.WalkSpeed
- end
- if lookvector < -reanim.Humanoid.WalkSpeed then
- lookvector = -reanim.Humanoid.WalkSpeed
- end
- if rightvector > reanim.Humanoid.WalkSpeed then
- rightvector = reanim.Humanoid.WalkSpeed
- end
- if rightvector < -reanim.Humanoid.WalkSpeed then
- rightvector = -reanim.Humanoid.WalkSpeed
- end
- local lookvel = lookvector / reanim.Humanoid.WalkSpeed
- local rightvel = rightvector / reanim.Humanoid.WalkSpeed
- if Mode == 'normal' or Mode == 'Normal' then
- if reanim.Humanoid.Jump then -- jump
- ---NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-1+0*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(72+0*math.cos(sine/26)),math.rad(0+0*math.cos(sine/10)),math.rad(35+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+-0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(72+0*math.cos(sine/26)),math.rad(0+0*math.cos(sine/10)),math.rad(-32+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),325+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),325+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.y < -1 and reanim.Humanoid.Jump then -- fall
- ---NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-1+0*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(112+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(23+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+-0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(112+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),325+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),325+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.Magnitude < 2 then -- idle
- ---NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-2.8+0*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(65+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(65+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),250+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),250+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.Magnitude < 20 then -- walk
- ---NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-1+0*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+-68*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+-0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+68*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),325+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),325+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.Magnitude > 20 then -- run
- ---NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-1+0*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+-68*math.cos(sine/7)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+-0.1*math.cos(sine/26),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+68*math.cos(sine/7)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),325+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),325+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- end
- end
- srv.RenderStepped:Wait()
- end
- end)()
- Mode = 'Normal'
- mode=m.KeyDown:Connect(function(a)
- if a == 'z' then
- Mode = 'normal'
- end
- if a == 'q' then
- Mode = 'normal man'
- end
- if a == 'x' then
- Mode = 'hug man'
- end
- end)
- coroutine.wrap(function()
- while true do -- anim changer
- if HumanDied then mode:Disconnect() break end
- sine = sine + speed
- local rlegray = Ray.new(reanim["Right Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
- local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
- local llegray = Ray.new(reanim["Left Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
- local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
- local rightvector = (Root.Velocity * Root.CFrame.rightVector).X + (Root.Velocity * Root.CFrame.rightVector).Z
- local lookvector = (Root.Velocity * Root.CFrame.lookVector).X + (Root.Velocity * Root.CFrame.lookVector).Z
- if lookvector > reanim.Humanoid.WalkSpeed then
- lookvector = reanim.Humanoid.WalkSpeed
- end
- if lookvector < -reanim.Humanoid.WalkSpeed then
- lookvector = -reanim.Humanoid.WalkSpeed
- end
- if rightvector > reanim.Humanoid.WalkSpeed then
- rightvector = reanim.Humanoid.WalkSpeed
- end
- if rightvector < -reanim.Humanoid.WalkSpeed then
- rightvector = -reanim.Humanoid.WalkSpeed
- end
- local lookvel = lookvector / reanim.Humanoid.WalkSpeed
- local rightvel = rightvector / reanim.Humanoid.WalkSpeed
- if Mode == 'normal man' then
- --First Mode--
- if reanim.Humanoid.Jump then -- jump
- --jump clerp here
- elseif Root.Velocity.y < -1 and reanim.Humanoid.Jump then -- fall
- --fall clerp here
- elseif Root.Velocity.Magnitude < 2 then -- idle
- NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-9+0.1*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.Magnitude < 20 then -- walk
- NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-9+0.1*math.cos(sine/19),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/19)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- RH.C0=RH.C0:Lerp(CFrame.new(0.82+0*math.cos(sine/10),-0+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-0+0*math.cos(sine/10),-0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
- elseif Root.Velocity.Magnitude > 20 then -- run
- --run clerp here
- end
- --------------
- end
- srv.RenderStepped:Wait()
- end
- end)()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 109
- for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("Accessory") then
- if v.Handle:FindFirstChildOfClass("Mesh") or v.Handle:FindFirstChildOfClass("SpecialMesh") then
- if v.Handle:FindFirstChildOfClass("SpecialMesh") then
- v.Handle:FindFirstChildOfClass("SpecialMesh"):Remove()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement