Advertisement
Flopte

script roblox

Nov 5th, 2024 (edited)
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local paintingNote = workspace.CandlePuzzle.PaintingNote.SurfaceGui.TextLabel
  3. local message = paintingNote.Text
  4. local messageList = string.split(message, " ")
  5. local plr = game.Players.LocalPlayer.Character.HumanoidRootPart
  6.  
  7. for i, v in pairs(workspace.CandlePuzzle.Candles:GetChildren()) do
  8. for i, word in ipairs(messageList) do
  9. if v.Name == "Candle"..string.upper(word) then
  10. print(v.Name)
  11. local prox = v.INTER:FindFirstChildOfClass("ProximityPrompt")
  12. plr.CFrame = v.INTER.CFrame
  13. if prox then
  14. wait(0.5)
  15. fireproximityprompt(prox)
  16. end
  17. end
  18. end
  19. end
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement