Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for _, Plank in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if Plank.Name=="Plank" and Plank:findFirstChild("Owner") then
- if Plank.Owner.Value == game.Players.LocalPlayer then
- spawn(function()
- for i=1,2 do
- wait()
- Plank:MoveTo(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 20, 0))
- end
- end)
- spawn(function()
- for i=1,30 do
- wait()
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Plank)
- game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(Plank.WoodSection)
- end
- end)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement