Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.Chatted:Connect(function(message)
- if message:lower() == '!remove' then
- game.Workspace["TheTrail"]:Remove()
- end
- end)
- local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- tool.Name = "Trail"
- while wait(0.1) do
- if tool.Active then
- local b = Instance.new("Part", game.Workspace)
- b.Anchored = true
- b.Transparency = 0.1
- b.Material = "Glass"
- b.Reflectance = 5
- b.Size = Vector3.new(6, 0, 6)
- b.Name = "TheTrail"
- while wait(0.3) do
- b.Position = game.Players.LocalPlayer.Character["Right Leg"].Position - Vector3.new (0, 1, 0)
- if game.Players.LocalPlayer.Character.Humanoid.Health == 0 or tool.Active == false then
- break
- end
- end
- game.Workspace.TheTrail:Remove()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement