Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player=game:GetService'Players'.LocalPlayer
- local RepS=game:GetService'ReplicatedStorage'
- local Event=RepS:WaitForChild'Remotes':WaitForChild'Player':WaitForChild'NPCChat'
- local Quest=Player:WaitForChild'PlayerFolder':WaitForChild'Quest'
- local Slader=workspace:WaitForChild'NPCS':WaitForChild'Slader'
- local RS=game:GetService'RunService'
- getgenv().Enabled=true
- while getgenv().Enabled do
- RS.RenderStepped:Wait()
- local Part=Slader:FindFirstChild'Part'
- if Part then
- local CD=Part:FindFirstChildOfClass'ClickDetector'
- if CD and Quest.Value~='No Quest' then
- fireclickdetector(CD)
- end
- end
- if Quest.Value=='No Quest' then
- Event.FireServer(Event,'Deliver this message to Slader.',true)
- end
- end
Add Comment
Please, Sign In to add comment