Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PlayerName = "MichaelJacksonOffice"
- local ItsCFrame
- local Remote = game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure
- for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == PlayerName then
- if v:FindFirstChild("Type") and v.Type.Value == "Blueprint" or "Structure" then
- if v:FindFirstChild("MainCFrame") then
- ItsCFrame = v.MainCFrame.Value
- else
- ItsCFrame = v.PrimaryPart.CFrame
- end
- if v ~= nil then
- Remote:FireServer(v.Name, ItsCFrame, game.Players.LocalPlayer, "Wipe", v, true)
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment