Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr=game:GetService("Players").LocalPlayer
- mouse=plr:GetMouse()
- char=plr.Character
- trail=false
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- trail=not trail
- end
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- if trail then
- for _,v in pairs(char:GetChildren()) do
- if v:IsA('Part') and v.Name~="HumanoidRootPart" then
- local c=v:Clone()
- c.Name = "Part"
- c.Parent = workspace
- c:BreakJoints()
- c.Anchored=true
- c.CanCollide=false
- c.Transparency=0.5
- game:GetService('Debris'):AddItem(c,0.1)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement