Roblox

Tips and tricks and scripts

Do something when mouse clicked while Tool is activated

If you have a tool named "Shield" in StarterPack StarterPack/Shield/Script ```ruby local Tool = script.Parent local function toolUsed() print("Tool Used") end Tool.Activated:Connect(toolUsed) ```

Set or Edit Time of Day

Workspace/Script ruby local minutesAfterMidnight = 7*60 -- 7AM game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight) To increase TimeOfDay by 60 mins each time you click on a Part Add ClickD...

  • Updated 28 days ago by vince
Add Text to Part

Add Part Add SurfaceGui to (1) Add TextLabel to (2) https://www.youtube.com/watch?v=agcoEoch2A0

  • Updated 28 days ago by vince
Click to Pickup map

Add A tool called "Map" to ServerStorage Add a part called "PickupButton" to Workspace Add ClickDetector to PickupButton Add Script to PickupButton Workspace/PickupButton/Script ```ruby local Tool ...

Teleport

Add two parts and name them "Tele1" and "Tele2". Add the following code to "Tele1" /Tele1/Script ```ruby local function onTouch(part) if part.Parent:FindFirstChild("Humanoid") then part...

  • Updated 28 days ago by vince