Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ind = false
- local char = owner.Character
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=2675785344"
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" or v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- end
- wait(0.1)
- local d = nil
- d = Instance.new("Model",game.Workspace)
- d.Name = "Dimension"
- local o1 = Instance.new("Part",d)
- o1.CFrame = CFrame.new(69.054, 147.649, 142.236)
- o1.Orientation = Vector3.new(0,0,0)
- o1.Anchored = true
- o1.Size = Vector3.new(55.798, 1.298, 58.393)
- o1.Material = "Granite"
- o1.Transparency = 0
- o1.CanCollide = true
- o1.BrickColor = BrickColor.new("Really black")
- o1.Size = o1.Size + Vector3.new(0,10,0)
- o1.CFrame = o1.CFrame - Vector3.new(0,5,0)
- local o2 = Instance.new("Part",d)
- o2.CFrame = CFrame.new(69.054, 152.515, 170.135)
- o2.Orientation = Vector3.new(0,0,0)
- o2.Anchored = true
- o2.Size = Vector3.new(55.798, 8.435, 2.595)
- o2.Material = "Granite"
- o2.Transparency = 0
- o2.CanCollide = true
- o2.BrickColor = BrickColor.new("Really black")
- local o3 = Instance.new("Part",d)
- o3.CFrame = CFrame.new(69.054, 152.515, 114.337)
- o3.Orientation = Vector3.new(0,0,0)
- o3.Anchored = true
- o3.Size = Vector3.new(55.798, 8.435, 2.595)
- o3.Material = "Granite"
- o3.Transparency = 0
- o3.CanCollide = true
- o3.BrickColor = BrickColor.new("Really black")
- local o4 = Instance.new("Part",d)
- o4.CFrame = CFrame.new(42.129, 152.839, 142.236)
- o4.Orientation = Vector3.new(0,-90,0)
- o4.Anchored = true
- o4.Size = Vector3.new(55.798, 9.083, 1.946)
- o4.Material = "Granite"
- o4.Transparency = 0
- o4.CanCollide = true
- o4.BrickColor = BrickColor.new("Really black")
- local o5 = Instance.new("Part",d)
- o5.CFrame = CFrame.new(95.656, 152.839, 142.236)
- o5.Orientation = Vector3.new(0,-90,0)
- o5.Anchored = true
- o5.Size = Vector3.new(55.798, 9.083, 2.595)
- o5.Material = "Granite"
- o5.Transparency = 0
- o5.CanCollide = true
- o5.BrickColor = BrickColor.new("Really black")
- local o6 = Instance.new("Part",d)
- o6.CFrame = CFrame.new(69.054, 157.251, 142.236)
- o6.Orientation = Vector3.new(0,0,0)
- o6.Anchored = true
- o6.Size = Vector3.new(55.798, 1.298, 58.393)
- o6.Material = "Granite"
- o6.Transparency = 0
- o6.CanCollide = true
- o6.BrickColor = BrickColor.new("Really black")
- local ki = Instance.new("Part",d)
- ki.CFrame = CFrame.new(67.75, 151.048, 141.75)
- ki.Orientation = Vector3.new(0,0,0)
- ki.Anchored = true
- ki.Size = Vector3.new(0.5, 0.5, 0.5)
- ki.Transparency = 1
- ki.CanCollide = false
- ki.BrickColor = BrickColor.new("Really black")
- local li = Instance.new("PointLight",ki)
- li.Name = "Light"
- ki.Light.Brightness = 100
- ki.Light.Range = 1000
- for i,v in pairs(d:GetChildren()) do
- v.CFrame = v.CFrame + Vector3.new(0,1000,0)
- end
- Places = {Vector3.new(67.75, 1144.048, 141.75)}
- local bdc = char["Body Colors"]
- bdc.HeadColor = BrickColor.new("Really black")
- bdc.TorsoColor = BrickColor.new("Really black")
- bdc.RightArmColor = BrickColor.new("Really black")
- bdc.LeftArmColor = BrickColor.new("Really black")
- bdc.LeftLegColor = BrickColor.new("Really black")
- bdc.RightLegColor = BrickColor.new("Really black")
- local hair = Instance.new("Accessory")
- hair.AttachmentPos = Vector3.new(0, 0.286, 0)
- local ha = Instance.new("Part",hair)
- ha.Name = "Handle"
- ha.Size = Vector3.new(1.782, 1.517, 1.32)
- ha.BrickColor = BrickColor.new("Really black")
- local me = Instance.new("SpecialMesh", ha)
- me.MeshId = "http://www.roblox.com/asset/?id=155495525"
- me.TextureId = "http://www.roblox.com/asset/?id=2675785344"
- me.Scale = Vector3.new(1.1, 1.1, 1.1)
- me.VertexColor = Vector3.new(1, 1, 1)
- hair.Parent = char
- local sh = Instance.new("Shirt",char)
- sh.ShirtTemplate = "rbxassetid://219915350"
- sh.Name = "Shirt"
- local sh2 = Instance.new("Pants",char)
- sh2.PantsTemplate = "rbxassetid://325498599"
- sh2.Name = "Pants"
- char.Animate:Destroy()
- local mus = nil
- local hum = char:FindFirstChildOfClass("Humanoid")
- local idleanim = Instance.new("Animation")
- idleanim.Name = "Roblox Idle Animation"
- idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local idleanimplay = hum:LoadAnimation(idleanim)
- idleanimplay:Play()
- hum.WalkSpeed = 20
- local swing = Instance.new("Animation")
- swing.Name = "swing"
- swing.AnimationId = "rbxassetid://900450645"
- local swingplay = hum:LoadAnimation(swing)
- mus = Instance.new("Sound",char)
- mus.SoundId = "rbxassetid://900450645"
- mus.Volume = 1.3
- mus.Looped = true
- mus.Pitch = 0.9
- mus:Play()
- --This script is made by Subaru112.
- local plr = owner
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local remote = Instance.new("RemoteEvent", char)
- remote.Name = "ReplicationEvent"
- local client = NLS([==[
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- spawn(function()
- while game:GetService("RunService").Heartbeat:Wait() do
- remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
- if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
- remote:FireServer(1, input.KeyCode)
- end
- end)
- mouse.Button1Down:Connect(function()
- remote:FireServer(2)
- end)
- remote.OnClientEvent:Connect(function()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
- end)
- ]==], char)
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local rootj = char.HumanoidRootPart.RootJoint
- local throwbutton = false
- local throw = false
- local normalanim = true
- local attackd = false
- local animpose = "Idle"
- local timepos = 0
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local rootjnor = rootj.C0
- local swing = nil
- local visible = nil
- visible = true
- swing = false
- owner.Parent[hum.Parent.Name].Character:MoveTo(Places[math.random(1,#Places)])
- ---------------------------------
- --------------Set up-------------
- ---------------------------------
- function onTouched(fire)
- if ind == false then
- if not(fire.Parent == char) then
- if swing == true then
- swing = false
- wait(0.00001)
- local hum = fire.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- local t = hum.Parent:findFirstChild("Torso")
- local t2 = hum.Parent:findFirstChild("UpperTorso")
- if t2 then
- local c = Instance.new("Part",t2)
- c.BrickColor = BrickColor.new("Really black")
- c.Size = Vector3.new(5,2.5,5)
- c.CFrame = t2.CFrame - Vector3.new(0,4,0)
- c.Material = "Neon"
- c.Size = Vector3.new(0.1,2.5,0.1)
- c.CanCollide = false
- c.Anchored = true
- t2.Anchored = true
- for i = 1,10 do
- wait(0.0001)
- c.Size = c.Size + Vector3.new(0.5,0,0.5)
- end
- wait(0.5)
- for i = 1,30 do
- wait(0.00000000001)
- t2.CFrame = t2.CFrame - Vector3.new(0,0.2,0)
- end
- c:Destroy()
- if hum.Parent then
- t2.CFrame = ki.CFrame
- t2.Anchored = false
- if owner.Parent:FindFirstChild(hum.Parent.Name) then
- owner.Parent[hum.Parent.Name].Character:MoveTo(Places[math.random(1,#Places)])
- owner.Parent[hum.Parent.Name].Character.UpperTorso.CFrame = ki.CFrame
- end
- end
- end
- if t then
- local c = Instance.new("Part",t)
- c.BrickColor = BrickColor.new("Really black")
- c.Size = Vector3.new(5,2.5,5)
- c.CFrame = t.CFrame - Vector3.new(0,4,0)
- c.Material = "Neon"
- c.Size = Vector3.new(0.1,2.5,0.1)
- c.CanCollide = false
- c.Anchored = true
- t.Anchored = true
- for i = 1,10 do
- wait(0.0001)
- c.Size = c.Size + Vector3.new(0.5,0,0.5)
- end
- wait(0.5)
- for i = 1,30 do
- wait(0.00000000001)
- t.CFrame = t.CFrame - Vector3.new(0,0.2,0)
- end
- c:Destroy()
- if hum.Parent then
- t.CFrame = ki.CFrame
- t.Anchored = false
- if owner.Parent:FindFirstChild(hum.Parent.Name) then
- owner.Parent[hum.Parent.Name].Character:MoveTo(Places[math.random(1,#Places)])
- owner.Parent[hum.Parent.Name].Character.Torso.CFrame = ki.CFrame
- end
- end
- end
- end
- end
- end
- end
- end
- char["Torso"].Touched:connect(onTouched)
- function onTouched(fire)
- if ind == true then
- if not(fire.Parent == char) then
- if swing == true then
- swing = false
- wait(0.00001)
- local hum = fire.Parent:FindFirstChildOfClass("Humanoid")
- if hum then
- local t = hum.Parent:findFirstChild("Torso")
- local t2 = hum.Parent:findFirstChild("UpperTorso")
- if t2 then
- local c = Instance.new("Part",t2)
- c.BrickColor = BrickColor.new("Really black")
- c.Size = Vector3.new(5,2.5,5)
- c.CFrame = t2.CFrame - Vector3.new(0,4,0)
- c.Material = "Neon"
- c.Size = Vector3.new(0.1,2.5,0.1)
- c.CanCollide = false
- c.Anchored = true
- t2.Anchored = true
- for i = 1,10 do
- wait(0.0001)
- c.Size = c.Size + Vector3.new(0.5,0,0.5)
- end
- wait(0.5)
- for i = 1,30 do
- wait(0.00000000001)
- t2.CFrame = t2.CFrame - Vector3.new(0,0.2,0)
- end
- c:Destroy()
- if hum.Parent then
- for i,v in pairs(hum.Parent:GetChildren()) do
- v:Destroy()
- end
- end
- end
- if t then
- local c = Instance.new("Part",t)
- c.BrickColor = BrickColor.new("Really black")
- c.Size = Vector3.new(5,2.5,5)
- c.CFrame = t.CFrame - Vector3.new(0,4,0)
- c.Material = "Neon"
- c.Size = Vector3.new(0.1,2.5,0.1)
- c.CanCollide = false
- c.Anchored = true
- t.Anchored = true
- for i = 1,10 do
- wait(0.0001)
- c.Size = c.Size + Vector3.new(0.5,0,0.5)
- end
- wait(0.5)
- for i = 1,30 do
- wait(0.00000000001)
- t.CFrame = t.CFrame - Vector3.new(0,0.2,0)
- end
- c:Destroy()
- if hum.Parent then
- for i,v in pairs(hum.Parent:GetChildren()) do
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- char["Head"].Touched:connect(onTouched)
- ---------------------------------
- -------------Attacks-------------
- ---------------------------------
- remote.OnServerEvent:Connect(function(Player, number, key)
- if number == 1 and plr.Name == Player.Name and attackd == false then
- if key == Enum.KeyCode.Z then
- if swing == false then
- swing = true
- wait(0.3)
- swing = false
- end
- end
- if key == Enum.KeyCode.Q then
- hum.WalkSpeed = 30
- ind = true
- char.Torso.CFrame = ki.CFrame
- end
- if key == Enum.KeyCode.J then
- char.Torso.CFrame = CFrame.new(0,3,0)
- end
- if key == Enum.KeyCode.E then
- hum.WalkSpeed = 20
- ind = false
- char.Torso.CFrame = CFrame.new(0,3,0)
- end
- if key == Enum.KeyCode.X then
- if swing == false then
- if visible == true then
- visible = false
- swing = true
- hum.JumpPower = 0
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- wait(0.01)
- hum.JumpPower = 50
- swing = false
- char.Head.face.Transparency = char.Head.face.Transparency + 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency + 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency + 0.1
- end
- end
- end
- end
- end
- end
- if key == Enum.KeyCode.C then
- if swing == false then
- if visible == false then
- swing = true
- visible = true
- hum.JumpPower = 0
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- wait(0.01)
- hum.JumpPower = 50
- swing = false
- char.Head.face.Transparency = char.Head.face.Transparency - 0.1
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = v.Handle.Transparency - 0.1
- end
- if v.ClassName == "Part" then
- if not(v.Name == "HumanoidRootPart") then
- v.Transparency = v.Transparency - 0.1
- end
- end
- end
- end
- end
- end
- end
- end)
- ---------------------------------
- -----------Wrapping up-----------
- ---------------------------------
- while game:GetService("RunService").Heartbeat:Wait() do
- if normalanim then
- sine = sine + 1
- end
- if d.Parent == game.Workspace then
- else
- d = Instance.new("Model",game.Workspace)
- d.Name = "Dimension"
- local o1 = Instance.new("Part",d)
- o1.CFrame = CFrame.new(69.054, 147.649, 142.236)
- o1.Orientation = Vector3.new(0,0,0)
- o1.Anchored = true
- o1.Size = Vector3.new(55.798, 1.298, 58.393)
- o1.Material = "Granite"
- o1.Transparency = 0
- o1.CanCollide = true
- o1.BrickColor = BrickColor.new("Really black")
- local o2 = Instance.new("Part",d)
- o2.CFrame = CFrame.new(69.054, 152.515, 170.135)
- o2.Orientation = Vector3.new(0,0,0)
- o2.Anchored = true
- o2.Size = Vector3.new(55.798, 8.435, 2.595)
- o2.Material = "Granite"
- o2.Transparency = 0
- o2.CanCollide = true
- o2.BrickColor = BrickColor.new("Really black")
- local o3 = Instance.new("Part",d)
- o3.CFrame = CFrame.new(69.054, 152.515, 114.337)
- o3.Orientation = Vector3.new(0,0,0)
- o3.Anchored = true
- o3.Size = Vector3.new(55.798, 8.435, 2.595)
- o3.Material = "Granite"
- o3.Transparency = 0
- o3.CanCollide = true
- o3.BrickColor = BrickColor.new("Really black")
- local o4 = Instance.new("Part",d)
- o4.CFrame = CFrame.new(42.129, 152.839, 142.236)
- o4.Orientation = Vector3.new(0,-90,0)
- o4.Anchored = true
- o4.Size = Vector3.new(55.798, 9.083, 1.946)
- o4.Material = "Granite"
- o4.Transparency = 0
- o4.CanCollide = true
- o4.BrickColor = BrickColor.new("Really black")
- local o5 = Instance.new("Part",d)
- o5.CFrame = CFrame.new(95.656, 152.839, 142.236)
- o5.Orientation = Vector3.new(0,-90,0)
- o5.Anchored = true
- o5.Size = Vector3.new(55.798, 9.083, 2.595)
- o5.Material = "Granite"
- o5.Transparency = 0
- o5.CanCollide = true
- o5.BrickColor = BrickColor.new("Really black")
- local o6 = Instance.new("Part",d)
- o6.CFrame = CFrame.new(69.054, 157.251, 142.236)
- o6.Orientation = Vector3.new(0,0,0)
- o6.Anchored = true
- o6.Size = Vector3.new(55.798, 1.298, 58.393)
- o6.Material = "Granite"
- o6.Transparency = 0
- o6.CanCollide = true
- o6.BrickColor = BrickColor.new("Really black")
- local ki = Instance.new("Part",d)
- ki.CFrame = CFrame.new(67.75, 151.048, 141.75)
- ki.Orientation = Vector3.new(0,0,0)
- ki.Anchored = true
- ki.Size = Vector3.new(0.5, 0.5, 0.5)
- ki.Transparency = 1
- ki.CanCollide = false
- ki.BrickColor = BrickColor.new("Really black")
- local li = Instance.new("PointLight",ki)
- li.Name = "Light"
- ki.Light.Brightness = 100
- ki.Light.Range = 1000
- for i,v in pairs(d:GetChildren()) do
- v.CFrame = v.CFrame + Vector3.new(0,1000,0)
- end
- end
- hum.Health = 9999999999999999
- if hair.Parent == char then
- else
- script:Destroy()
- end
- if mus.Parent == char then
- mus.SoundId = "rbxassetid://900450645"
- mus.Playing = true
- mus.Looped = true
- mus.Volume = 1.3
- mus.Pitch = 0.9
- timepos = mus.TimePosition
- else
- mus = Instance.new("Sound", char)
- mus.TimePosition = timepos
- mus.Volume = 1.3
- end
- if remote.Parent == char then
- remote.Name = "ReplicationEvent"
- else
- remote = Instance.new("RemoteEvent", char)
- end
- local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
- if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
- animpose = "Walking"
- elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
- animpose = "Jumping"
- elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
- animpose = "Falling"
- else
- animpose = "Idle"
- end
- if animpose == "Idle" and normalanim then
- if ind == false then
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
- RS.C0 = RS.C0:Lerp(RSnor, 0.15)
- LS.C0 = LS.C0:Lerp(LSnor, 0.15)
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- end
- if ind == true then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0, 0, 0), 0.15)
- rootj.C0 = rootj.C0 * CFrame.new(math.sin(sine / 10) / 4, 0, math.sin(sine / 5) / 10)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1, 0, 0), 0.10)
- end
- elseif animpose == "Walking" and normalanim then
- if ind == false then
- rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0)
- end
- if ind == true then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(1.3, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootj.C0 * CFrame.Angles(0, 0, math.sin(sine / 100)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 0.5, 0)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- end
- elseif animpose == "Jumping" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor, 0.15)
- LH.C0 = LH.C0:Lerp(LHnor, 0.15)
- elseif animpose == "Falling" and normalanim then
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15)
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10)
- end
- end
Add Comment
Please, Sign In to add comment