Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("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
- do
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- 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 te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- 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
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a 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})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) 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
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- function wbtwe(Part0, Part1, C0)
- local weld = Instance.new("Weld", Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
- return weld
- end
- walk = 0
- deb = false
- animt = true
- mode = 0
- hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0) *CFrame.Angles(0, 0, 0))
- law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.49, 0.1, 0) *CFrame.Angles(0, 25, 0.1))
- raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.49, 0.1, 0) *CFrame.Angles(0, 0, -0.1))
- llw = wbtwe(owner.Character["Left Leg"], owner.Character.HumanoidRootPart, CFrame.new(0.45, 1.9, 0) *CFrame.Angles(0, 25, 0))
- rlw = wbtwe(owner.Character["Right Leg"], owner.Character.HumanoidRootPart, CFrame.new(-0.4, 1.9, 0) *CFrame.Angles(0, 0, 0) *CFrame.Angles(0, 0, 0))
- hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.5, 0))
- local song = Instance.new("Sound", owner.Character.Head)
- song.Volume = 5
- song.SoundId = "rbxassetid://1494452913"
- song.Looped = true
- song:Play()
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- if v:IsA("Part") and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 1
- if v.Name == "Torso" then
- end
- elseif v:IsA("Part") and v.Name == "Head" then
- v.Transparency = 1
- end
- end
- local mas = Instance.new("Model", game:GetService("Lighting"))
- local Model = Instance.new("Model")
- local Head = Instance.new("Part")
- local Mesh = Instance.new("SpecialMesh")
- local Part = Instance.new("Part")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Part_1 = Instance.new("Part")
- local WeldConstraint_1 = Instance.new("WeldConstraint")
- local Handle = Instance.new("Part")
- local Mesh_1 = Instance.new("SpecialMesh")
- local WeldConstraint_2 = Instance.new("WeldConstraint")
- local Part_2 = Instance.new("Part")
- local WeldConstraint_3 = Instance.new("WeldConstraint")
- local Part_3 = Instance.new("Part")
- local WeldConstraint_4 = Instance.new("WeldConstraint")
- Model.Parent = mas
- Head.CFrame = CFrame.new(-1.159,8.26,9.107,0,0,1,0,1,0,-1,0,0)
- Head.CanCollide = false
- Head.Color = Color3.new(0.792,0.796,0.82)
- Head.Size = Vector3.new(2,1,1)
- Head.TopSurface = Enum.SurfaceType.Smooth
- Head.Name = "Head"
- Head.Parent = Model
- Mesh.Scale = Vector3.new(1.25,1.25,1.25)
- Mesh.Parent = Head
- Part.Shape = Enum.PartType.Cylinder
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.CFrame = CFrame.new(-1.738,8.377,9.374,0.98,0,0.199,0,1,0,-0.199,0,0.98)
- Part.CanCollide = false
- Part.Color = Color3.new(0.106,0.165,0.208)
- Part.Material = Enum.Material.DiamondPlate
- Part.Size = Vector3.new(0.05,0.45,1)
- Part.TopSurface = Enum.SurfaceType.Smooth
- Part.Parent = Model
- WeldConstraint.Part0 = Part
- WeldConstraint.Part1 = Head
- WeldConstraint.Parent = Part
- Part_1.Shape = Enum.PartType.Cylinder
- Part_1.BottomSurface = Enum.SurfaceType.Smooth
- Part_1.CFrame = CFrame.new(-1.761,8.362,9.379,0.98,0,0.199,0,1,0,-0.199,0,0.98)
- Part_1.CanCollide = false
- Part_1.Color = Color3.new(0.769,0.157,0.11)
- Part_1.Material = Enum.Material.Neon
- Part_1.Size = Vector3.new(0.05,0.3,1)
- Part_1.TopSurface = Enum.SurfaceType.Smooth
- Part_1.Parent = Model
- WeldConstraint_1.Part0 = Part_1
- WeldConstraint_1.Part1 = Head
- WeldConstraint_1.Parent = Part_1
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- Handle.CFrame = CFrame.new(-1.112,8.462,9.16,0,0,1,0,1,0,-1,0,0)
- Handle.CanCollide = false
- Handle.Color = Color3.new(0.067,0.067,0.067)
- Handle.Size = Vector3.new(2,2,1.8)
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Handle.Name = "Handle"
- Handle.Parent = Model
- Mesh_1.MeshType = Enum.MeshType.FileMesh
- Mesh_1.MeshId = "http://www.roblox.com/asset/?id=76062497"
- Mesh_1.Parent = Handle
- WeldConstraint_2.Part0 = Handle
- WeldConstraint_2.Part1 = Head
- WeldConstraint_2.Parent = Handle
- Part_2.Shape = Enum.PartType.Cylinder
- Part_2.BottomSurface = Enum.SurfaceType.Smooth
- Part_2.CFrame = CFrame.new(-1.761,8.362,8.879,0.976,0,-0.217,0,1,0,0.217,0,0.976)
- Part_2.CanCollide = false
- Part_2.Color = Color3.new(0.769,0.157,0.11)
- Part_2.Material = Enum.Material.Neon
- Part_2.Size = Vector3.new(0.05,0.3,1)
- Part_2.TopSurface = Enum.SurfaceType.Smooth
- Part_2.Parent = Model
- WeldConstraint_3.Part0 = Part_2
- WeldConstraint_3.Part1 = Head
- WeldConstraint_3.Parent = Part_2
- Part_3.Shape = Enum.PartType.Cylinder
- Part_3.BottomSurface = Enum.SurfaceType.Smooth
- Part_3.CFrame = CFrame.new(-1.738,8.377,8.885,0.976,0,-0.217,0,1,0,0.217,0,0.976)
- Part_3.CanCollide = false
- Part_3.Color = Color3.new(0.106,0.165,0.208)
- Part_3.Material = Enum.Material.DiamondPlate
- Part_3.Size = Vector3.new(0.05,0.45,1)
- Part_3.TopSurface = Enum.SurfaceType.Smooth
- Part_3.Parent = Model
- WeldConstraint_4.Part0 = Part_3
- WeldConstraint_4.Part1 = Head
- WeldConstraint_4.Parent = Part_3
- mas.Parent = owner.Character
- local mass = Instance.new("Model", game:GetService("Lighting"))
- local left = Instance.new("Model")
- local fab = Instance.new("Part")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Base = Instance.new("Part")
- local Part = Instance.new("Part")
- local WeldConstraint_1 = Instance.new("WeldConstraint")
- left.Name = "left"
- left.Parent = mass
- fab.BottomSurface = Enum.SurfaceType.Smooth
- fab.CFrame = CFrame.new(-7.112,2.01,32.34,1,0,0,0,1,0,0,0,1)
- fab.CanCollide = false
- fab.Color = Color3.new(0.106,0.165,0.208)
- fab.Material = Enum.Material.Fabric
- fab.Size = Vector3.new(1,0.68,1)
- fab.TopSurface = Enum.SurfaceType.Smooth
- fab.Name = "fab"
- fab.Parent = left
- WeldConstraint.Part0 = fab
- WeldConstraint.Part1 = Base
- WeldConstraint.Parent = fab
- Base.BottomSurface = Enum.SurfaceType.Smooth
- Base.CFrame = CFrame.new(-7.112,1.145,32.33,1,0,0,0,1,0,0,0,1)
- Base.CanCollide = false
- Base.Color = Color3.new(0.106,0.165,0.208)
- Base.Material = Enum.Material.DiamondPlate
- Base.Size = Vector3.new(0.94,1.11,0.91)
- Base.TopSurface = Enum.SurfaceType.Smooth
- Base.Name = "Base"
- Base.Parent = left
- Part.Shape = Enum.PartType.Cylinder
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.CFrame = CFrame.new(-7.123,0.92,31.868,0,0,1,0,1,0,-1,0,0)
- Part.CanCollide = false
- Part.Color = Color3.new(0.769,0.157,0.11)
- Part.Material = Enum.Material.Neon
- Part.Size = Vector3.new(0.05,0.3,1)
- Part.TopSurface = Enum.SurfaceType.Smooth
- Part.Parent = left
- WeldConstraint_1.Part0 = Part
- WeldConstraint_1.Part1 = Part
- WeldConstraint_1.Parent = Part
- mass.Parent = owner.Character
- local massss = Instance.new("Model", game:GetService("Lighting"))
- local Model = Instance.new("Model")
- local Part = Instance.new("Part")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Torso = Instance.new("Part")
- Model.Parent = massss
- Part.Shape = Enum.PartType.Cylinder
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.CFrame = CFrame.new(-19.501,1.005,104.968,-1,0,0,0,1,0,0,0,-1)
- Part.CanCollide = false
- Part.Color = Color3.new(0.769,0.157,0.11)
- Part.Material = Enum.Material.Neon
- Part.Size = Vector3.new(0.05,1.23,1.74)
- Part.TopSurface = Enum.SurfaceType.Smooth
- Part.Parent = Model
- WeldConstraint.Part0 = Part
- WeldConstraint.Part1 = Torso
- WeldConstraint.Parent = Part
- Torso.CFrame = CFrame.new(-20.026,1,104.943,0,0,-1,0,1,0,1,0,0)
- Torso.CanCollide = false
- Torso.Color = Color3.new(0.106,0.165,0.208)
- Torso.Material = Enum.Material.Fabric
- Torso.Size = Vector3.new(2,2,1)
- Torso.TopSurface = Enum.SurfaceType.Smooth
- Torso.Name = "Torso"
- Torso.Parent = Model
- massss.Parent = owner.Character
- local RightLeg = Instance.new("Part")
- RightLeg.BottomSurface = Enum.SurfaceType.Smooth
- RightLeg.CFrame = CFrame.new(2.79,1,53.57,-1,0,0,0,1,0,0,0,-1)
- RightLeg.CanCollide = false
- RightLeg.CastShadow = false
- RightLeg.Color = Color3.new(0.106,0.165,0.208)
- RightLeg.Material = Enum.Material.DiamondPlate
- RightLeg.Size = Vector3.new(1,2,1)
- RightLeg.Name = "RightLeg"
- RightLeg.Parent = mas
- local LeftLeg = Instance.new("Part")
- LeftLeg.BottomSurface = Enum.SurfaceType.Smooth
- LeftLeg.CFrame = CFrame.new(2.79,1,53.57,-1,0,0,0,1,0,0,0,-1)
- LeftLeg.CanCollide = false
- LeftLeg.CastShadow = false
- LeftLeg.Color = Color3.new(0.106,0.165,0.208)
- LeftLeg.Material = Enum.Material.DiamondPlate
- LeftLeg.Size = Vector3.new(1,2,1)
- LeftLeg.Name = "LeftLeg"
- LeftLeg.Parent = massss
- massss.Parent = owner.Character
- local masss = Instance.new("Model", game:GetService("Lighting"))
- local Model = Instance.new("Model")
- local Part = Instance.new("Part")
- local LeftArmTerrainJoint = Instance.new("ManualWeld")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Part_1 = Instance.new("Part")
- local LeftArmTerrainJoint_1 = Instance.new("ManualWeld")
- local WeldConstraint_1 = Instance.new("WeldConstraint")
- local Part_2 = Instance.new("Part")
- local LeftArmTerrainJoint_2 = Instance.new("ManualWeld")
- local WeldConstraint_2 = Instance.new("WeldConstraint")
- local Part_3 = Instance.new("Part")
- local LeftArmTerrainJoint_3 = Instance.new("ManualWeld")
- local WeldConstraint_3 = Instance.new("WeldConstraint")
- local Part_4 = Instance.new("Part")
- local LeftArmTerrainJoint_4 = Instance.new("ManualWeld")
- local WeldConstraint_4 = Instance.new("WeldConstraint")
- local Part_5 = Instance.new("Part")
- local LeftArmTerrainJoint_5 = Instance.new("ManualWeld")
- local WeldConstraint_5 = Instance.new("WeldConstraint")
- local Basee = Instance.new("Part")
- local LeftArmTerrainJoint_6 = Instance.new("ManualWeld")
- local Part_6 = Instance.new("Part")
- local LeftArmTerrainJoint_7 = Instance.new("ManualWeld")
- local WeldConstraint_6 = Instance.new("WeldConstraint")
- local Part_7 = Instance.new("Part")
- local LeftArmTerrainJoint_8 = Instance.new("ManualWeld")
- local WeldConstraint_7 = Instance.new("WeldConstraint")
- local Part_8 = Instance.new("Part")
- local LeftArmTerrainJoint_9 = Instance.new("ManualWeld")
- local WeldConstraint_8 = Instance.new("WeldConstraint")
- Model.Parent = masss
- Part.CFrame = CFrame.new(18.82,0.095,23.38,0,0,1,0,1,0,-1,0,0)
- Part.CanCollide = false
- Part.Color = Color3.new(0.106,0.165,0.208)
- Part.Material = Enum.Material.DiamondPlate
- Part.Size = Vector3.new(1,0.19,1)
- Part.Parent = Model
- LeftArmTerrainJoint.Part1 = Part
- LeftArmTerrainJoint.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint.Parent = Part
- WeldConstraint.Part0 = Part
- WeldConstraint.Part1 = Basee
- WeldConstraint.Parent = Part
- Part_1.CFrame = CFrame.new(18.82,1.954,23.38,0,0,1,0,1,0,-1,0,0)
- Part_1.CanCollide = false
- Part_1.Color = Color3.new(0.106,0.165,0.208)
- Part_1.Material = Enum.Material.DiamondPlate
- Part_1.Size = Vector3.new(1,0.11,1)
- Part_1.Parent = Model
- LeftArmTerrainJoint_1.Part1 = Part_1
- LeftArmTerrainJoint_1.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_1.Parent = Part_1
- WeldConstraint_1.Part0 = Part_1
- WeldConstraint_1.Part1 = Basee
- WeldConstraint_1.Parent = Part_1
- Part_2.CFrame = CFrame.new(18.808,1.064,22.96,0,0,1,0,1,0,-1,0,0)
- Part_2.CanCollide = false
- Part_2.Color = Color3.new(0.106,0.165,0.208)
- Part_2.Material = Enum.Material.DiamondPlate
- Part_2.Size = Vector3.new(0.16,1.89,0.17)
- Part_2.Parent = Model
- LeftArmTerrainJoint_2.Part1 = Part_2
- LeftArmTerrainJoint_2.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_2.Parent = Part_2
- WeldConstraint_2.Part0 = Part_2
- WeldConstraint_2.Part1 = Basee
- WeldConstraint_2.Parent = Part_2
- Part_3.CFrame = CFrame.new(19.195,1.064,23.229,-0.938,0,-0.347,0,1,0,0.347,0,-0.938)
- Part_3.CanCollide = false
- Part_3.Color = Color3.new(0.106,0.165,0.208)
- Part_3.Material = Enum.Material.DiamondPlate
- Part_3.Size = Vector3.new(0.16,1.89,0.17)
- Part_3.Parent = Model
- LeftArmTerrainJoint_3.Part1 = Part_3
- LeftArmTerrainJoint_3.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_3.Parent = Part_3
- WeldConstraint_3.Part0 = Part_3
- WeldConstraint_3.Part1 = Basee
- WeldConstraint_3.Parent = Part_3
- Part_4.CFrame = CFrame.new(18.421,1.064,23.515,-0.938,0,-0.347,0,1,0,0.347,0,-0.938)
- Part_4.CanCollide = false
- Part_4.Color = Color3.new(0.106,0.165,0.208)
- Part_4.Material = Enum.Material.DiamondPlate
- Part_4.Size = Vector3.new(0.16,1.89,0.17)
- Part_4.Parent = Model
- LeftArmTerrainJoint_4.Part1 = Part_4
- LeftArmTerrainJoint_4.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_4.Parent = Part_4
- WeldConstraint_4.Part0 = Part_4
- WeldConstraint_4.Part1 = Basee
- WeldConstraint_4.Parent = Part_4
- Part_5.CFrame = CFrame.new(18.775,1.035,23.37,0,0,1,0,1,0,-1,0,0)
- Part_5.CanCollide = false
- Part_5.Color = Color3.new(1,0,0)
- Part_5.Material = Enum.Material.Neon
- Part_5.Size = Vector3.new(0.48,1.75,0.51)
- Part_5.Parent = Model
- LeftArmTerrainJoint_5.Part1 = Part_5
- LeftArmTerrainJoint_5.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_5.Parent = Part_5
- WeldConstraint_5.Part0 = Part_5
- WeldConstraint_5.Part1 = Basee
- WeldConstraint_5.Parent = Part_5
- Basee.CFrame = CFrame.new(18.82,1.024,23.38,0,0,1,0,1,0,-1,0,0)
- Basee.CanCollide = false
- Basee.Color = Color3.new(0.106,0.165,0.208)
- Basee.Material = Enum.Material.DiamondPlate
- Basee.Size = Vector3.new(1,1.97,1)
- Basee.Transparency = 1
- Basee.Name = "Basee"
- Basee.Parent = Model
- LeftArmTerrainJoint_6.Part1 = Basee
- LeftArmTerrainJoint_6.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_6.Parent = Basee
- Part_6.CFrame = CFrame.new(18.434,1.064,23.199,-0.908,0,0.42,0,1,0,-0.42,0,-0.908)
- Part_6.CanCollide = false
- Part_6.Color = Color3.new(0.106,0.165,0.208)
- Part_6.Material = Enum.Material.DiamondPlate
- Part_6.Size = Vector3.new(0.16,1.89,0.17)
- Part_6.Parent = Model
- LeftArmTerrainJoint_7.Part1 = Part_6
- LeftArmTerrainJoint_7.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_7.Parent = Part_6
- WeldConstraint_6.Part0 = Part_6
- WeldConstraint_6.Part1 = Basee
- WeldConstraint_6.Parent = Part_6
- Part_7.CFrame = CFrame.new(19.182,1.064,23.545,-0.908,0,0.42,0,1,0,-0.42,0,-0.908)
- Part_7.CanCollide = false
- Part_7.Color = Color3.new(0.106,0.165,0.208)
- Part_7.Material = Enum.Material.DiamondPlate
- Part_7.Size = Vector3.new(0.16,1.89,0.17)
- Part_7.Parent = Model
- LeftArmTerrainJoint_8.Part1 = Part_7
- LeftArmTerrainJoint_8.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_8.Parent = Part_7
- WeldConstraint_7.Part0 = Part_7
- WeldConstraint_7.Part1 = Basee
- WeldConstraint_7.Parent = Part_7
- Part_8.CFrame = CFrame.new(18.808,1.064,23.785,0,0,1,0,1,0,-1,0,0)
- Part_8.CanCollide = false
- Part_8.Color = Color3.new(0.106,0.165,0.208)
- Part_8.Material = Enum.Material.DiamondPlate
- Part_8.Size = Vector3.new(0.16,1.89,0.17)
- Part_8.Parent = Model
- LeftArmTerrainJoint_9.Part1 = Part_8
- LeftArmTerrainJoint_9.Name = "Left Arm Terrain Joint"
- LeftArmTerrainJoint_9.Parent = Part_8
- WeldConstraint_8.Part0 = Part_8
- WeldConstraint_8.Part1 = Basee
- WeldConstraint_8.Parent = Part_8
- masss.Parent = owner.Character
- wbtwe(Head, owner.Character.Head, CFrame.new(0, 0, 0))
- wbtwe(Base, owner.Character["Right Arm"], CFrame.new(0, 0.1, 0))
- wbtwe(Basee, owner.Character["Left Arm"], CFrame.new(0, 0.1, 0))
- wbtwe(Torso, owner.Character["Torso"], CFrame.new(0, 0, 0))
- wbtwe(RightLeg, owner.Character["Right Leg"], CFrame.new(0, 0, 0))
- wbtwe(LeftLeg, owner.Character["Left Leg"], CFrame.new(0, 0, 0))
- anim = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- if animt == true then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.HumanoidRootPart.CFrame*CFrame.new(0, math.cos(walk) *0.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(1.49, 0.1, 0) *CFrame.Angles(0, 25, 0.1), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(-1.49, 0.1, 0) *CFrame.Angles(0, 0, -0.1), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(0.45, 1.9, 0) *CFrame.Angles(0, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(-0.4, 1.9, 0) *CFrame.Angles(0, 0, 0) *CFrame.Angles(0, 0, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(0, -1.5, 0) *CFrame.Angles(0, 0.7 +math.sin(walk) *0.5, 0), 0.1)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.HumanoidRootPart.CFrame*CFrame.new(0, math.cos(walk) *0.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(1.49, 0.1, math.cos(walk) *-0.5) *CFrame.Angles(math.cos(walk) *0.5, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(-1.49, 0.1, math.cos(walk) *0.5) *CFrame.Angles(math.cos(walk) *-0.5, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(0.45, 1.9, math.cos(walk) *0.5) *CFrame.Angles(math.cos(walk) *0.5, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(-0.4, 1.9, math.cos(walk) *-0.5) *CFrame.Angles(0, 0, 0) *CFrame.Angles(math.cos(walk) *-0.5, 0, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(0, -1.5, 0), 0.1)
- end
- end
- end
- end)anim()
- local shoot = Instance.new("Sound", owner.Character.Head)
- shoot.SoundId = "rbxassetid://156572165"
- shoot.Volume = 6
- mouse.Button1Down:connect(function()
- shoot:Play()
- local ray = Ray.new(Head.CFrame.p, (mouse.Hit.p - Head.CFrame.p).unit*300)
- local hit, position = game.Workspace:FindPartOnRay(ray, owner.Character)
- local humanoid = hit and hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid then
- hit.Parent:BreakJoints()
- end
- local distance = (position - Head.CFrame.p).magnitude
- local rayPart = Instance.new("Part", owner.Character)
- rayPart.Name = "RayPart"
- rayPart.BrickColor = BrickColor.new("Really red")
- rayPart.Material = "Neon"
- rayPart.Anchored = true
- rayPart.CanCollide = false
- rayPart.TopSurface = Enum.SurfaceType.Smooth
- rayPart.BottomSurface = Enum.SurfaceType.Smooth
- rayPart.formFactor = Enum.FormFactor.Custom
- rayPart.Size = Vector3.new(0.2, 0.2, distance)
- rayPart.CFrame = CFrame.new(position, Head.CFrame.p) * CFrame.new(0, 0, -distance/2)
- owner.Character:WaitForChild("Torso").CFrame = CFrame.new(owner.Character.Torso.CFrame.p, Vector3.new(mouse.Hit.X, owner.Character.Torso.CFrame.p.Y, mouse.Hit.Z))
- for i = 1,10 do
- game:GetService("RunService").Stepped:wait()
- rayPart.Transparency = rayPart.Transparency +0.1
- end
- game.Debris:AddItem(rayPart, 0.1)
- end)
- health = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- owner.Character.Humanoid.MaxHealth = math.huge
- owner.Character.Humanoid.Health = math.huge
- end
- end)health()
- local Sign = Instance.new("Part")
- Sign.Transparency = 1
- Sign.Size = Vector3.new(5.92, 3.99, 0.05)
- local SurfaceGui = Instance.new("SurfaceGui")
- local TextBox = Instance.new("TextBox")
- SurfaceGui.Parent = Sign
- SurfaceGui.Adornee = Sign
- SurfaceGui.CanvasSize = Vector2.new(160, 120)
- TextBox.Parent = SurfaceGui
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 1
- TextBox.Size = UDim2.new(1, 0, 1, 0)
- TextBox.Font = Enum.Font.Code
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(0, 1, 0.113725)
- TextBox.TextScaled = true
- TextBox.TextSize = 10
- TextBox.TextWrapped = true
- Sign.Parent = owner.Character
- wbtwe(Sign, owner.Character.Torso, CFrame.new(0, -0.5, 1.2))
- mouse.KeyDown:connect(function(k)
- if k == "f" then
- if deb == false then
- mode = mode+1
- sound = Instance.new("Sound", owner.Character.Head)
- sound.SoundId = "rbxassetid://721304482"
- sound.Volume = 4
- sound:Play()
- deb = true
- animt = false
- owner.Character.Humanoid.WalkSpeed = 0
- owner.Character.Humanoid.JumpPower = 0
- for i,v in pairs(mas:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 1
- end
- end
- end
- for i,v in pairs(mass:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 1
- end
- end
- end
- for i,v in pairs(masss:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 1
- end
- end
- end
- for i,v in pairs(massss:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 1
- end
- end
- end
- mode = mode +1
- song:Stop()
- wait(2)
- TextBox.Text = "r"
- wait(0.1)
- TextBox.Text = "re"
- wait(0.1)
- TextBox.Text = "reb"
- wait(0.1)
- TextBox.Text = "rebo"
- wait(0.1)
- TextBox.Text = "reboo"
- wait(0.1)
- TextBox.Text = "reboot"
- wait(2)
- for i = 1,string.len("I had witnessed the worst you had to offer.") do
- wait(0.1)
- TextBox.Text = ("I had witnessed the worst you had to offer."):sub(1, i)
- end
- wait(2)
- for i,v in pairs(mas:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 0.5
- end
- end
- end
- for i,v in pairs(mass:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 0.5
- end
- end
- end
- for i,v in pairs(masss:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 0.5
- end
- end
- end
- for i,v in pairs(massss:GetChildren()) do
- if v:IsA("Part") then
- if v.Material == "Neon" then
- v.Transparency = 0.5
- end
- end
- end
- for i = 1,string.len("NOW YOU WILL WITNESS THE WORST I HAVE TO OFFER!") do
- wait(0.2)
- TextBox.Text = ("NOW YOU WILL WITNESS THE WORST I HAVE TO OFFER!"):sub(1, i)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement