Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Game = workspace:WaitForChild("Game")
- local RemoteEvent = ReplicatedStorage.RemoteEvent
- local Display = ReplicatedStorage.Aircraft.Display
- RemoteEvent.OnServerEvent:Connect(function()
- if Display then
- local newF15 = Display:FindFirstChild("F15E")
- if newF15 then
- local clone = newF15:Clone()
- clone.Name = "F-15E"
- clone.Parent = workspace -- Needs to be in Workspace before you use PivotTo.
- clone:PivotTo(CFrame.new(0, 20, 0))
- wait(0.01)
- script.Parent.Visible = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment