Guest User

Untitled

a guest
Jul 6th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2.  
  3. local Game = workspace:WaitForChild("Game")
  4. local RemoteEvent = ReplicatedStorage.RemoteEvent
  5. local Display = ReplicatedStorage.Aircraft.Display
  6.  
  7. RemoteEvent.OnServerEvent:Connect(function()
  8.     if Display then
  9.         local newF15 = Display:FindFirstChild("F15E")
  10.         if newF15 then
  11.             local clone = newF15:Clone()
  12.             clone.Name = "F-15E"
  13.             clone.Parent = workspace -- Needs to be in Workspace before you use PivotTo.
  14.             clone:PivotTo(CFrame.new(0, 20, 0))
  15.             wait(0.01)
  16.             script.Parent.Visible = false
  17.         end
  18.     end
  19. end)
  20.  
Advertisement
Add Comment
Please, Sign In to add comment