Advertisement
Synpase_X

test

Aug 26th, 2023 (edited)
1,154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.23 KB | None | 0 0
  1. local audio = Instance.new("Sound")
  2. local obj = Instance.new("Part")
  3. local tool = Instance.new("Tool")
  4. local handle = Instance.new("Part")
  5. handle.Name = "Handle"
  6. handle.Parent = tool
  7. tool.RequiresHandle = true
  8. tool.Enabled = true
  9. tool.Parent = game.ReplicatedStorage
  10. local touching = false
  11. obj.Size = Vector3.new(1.63, 1, 1.67)
  12. obj.Anchored = true
  13. obj.CFrame = game.Workspace.Rezkiy787.Head.CFrame
  14. audio.Parent = obj
  15. audio.SoundId = "rbxassetid://14271941117"
  16. audio.Volume = 1
  17. local bg = Instance.new("BillboardGui")
  18. bg.Adornee = obj
  19. bg.Enabled = true
  20. bg.Size = UDim2.new(0,100,0,100)
  21. local il = Instance.new("ImageLabel")
  22. il.Parent = bg
  23. il.Size = UDim2.new(0,100,0,100)
  24. il.Image = "http://www.roblox.com/asset/?id=14271904476"
  25. il.BackgroundTransparency = 1
  26. local sp = Instance.new("SpecialMesh")
  27. sp.Parent = obj
  28. sp.MeshId = "rbxassetid://582280634"
  29. sp.TextureId = "rbxassetid://582281250"
  30. sp.Scale = Vector3.new(0.3, 0.3, 0.3)
  31. local rs = game:GetService("RunService")
  32. rs.Heartbeat:Connect(function()
  33.     obj.Orientation += Vector3.new(0,1,0)
  34. end)
  35. obj.Touched:Connect(function()
  36.     print("hi")
  37.     touching = true
  38.     if touching == true then
  39.         obj:Destroy()
  40.         audio:Play()
  41.         tool.Parent = game.Workspace.Rezkiy787
  42.     end
  43. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement