vince

Animate a Humanoid

Add script to Model Workspace/Fan/Script ruby local animation = script:WaitForChild('Animation') local humanoid = script.Parent:WaitForChild('Humanoid') humanoid:LoadAnimation(animation):Play() A...

Rig a custom NPC

Get RigEdit (https://www.roblox.com/library/4486409103/RigEdit-Plus) Watch https://youtu.be/8StIer18lpY

Do damage when NPC touches player

Make an NPC named Giraffe damage player when it's torso touches a player Workspace/Giraffe/Torso/Script ```ruby local brick = script.Parent local touched = false -- debounce local function ImTrigge...

Make NPC follow/chase players

Make an NPC [with Humanoid inside] named Giraffe patrol chase the closest player Workspace/Script ```ruby local DELAY = 2 local giraffe = game.Workspace.Giraffe local humanoid = giraffe.Humanoid l...

Get closest player to an NPC

```ruby local npcHRP = NPC.HumanoidRootPart local function GetNearestPlayer(minimumDistance) local closestMagnitude = minimumDistance or math.huge --minimumDistance is a number in studs ...

Move NPC between two points like a patrol

Make an NPC [with Humanoid inside] named Giraffe patrol between two objects named GreenFlag and PurpleFlag. Note the line that says humanoid.MoveToFinished:Wait() - this pauses the script till the ...

Move NPC to a point

Move an NPC named Giraffe to an object named GreenFlag Workspace/Script ```ruby local giraffe = game.Workspace.Giraffe local humanoid = giraffe.Humanoid local pointA = game.Workspace.GreenFlag huma...

Clone Objects

Workspace/Script ```ruby local object = game.Workspace.PartToClone local clonedObject = object:Clone() clonedObject.Parent = game.Workspace clonedObject.Position = Vector3.new(5,0.5,5) clonedObject...

Damage or Heal player when player touches something

Workspace/Part/Script ```ruby local brick = script.Parent local function Touched(Part) if Part.Parent:FindFirstChild("Humanoid") then Part.Parent.Humanoid:TakeDamage(10) end end br...

Play sound when Tool is activated

If you have a tool named "Shield" in StarterPack and a sound named "Sound" under "Shield" StarterPack/Shield/Script ```ruby local Tool = script.Parent local function toolUsed() Tool.Sound:Play...

Make Player Jump Higher when tool equipped

If you have a tool named "Shield" in StarterPack StarterPack/Shield/Script ```ruby local tool = script.Parent local lastCharacter = nil local function onEquipped() local character = tool.Parent...

Make Player Run when tool equipped

If you have a tool named "Shield" in StarterPack StarterPack/Shield/Script ```ruby local tool = script.Parent local lastCharacter = nil local function onEquipped() local character = tool.Parent...

Do something when Tool is equipped or unequipped

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

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) ```

Add Text to Part

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

  • Updated 23 days ago by vince
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 23 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 23 days ago by vince
CA Covid assistance

For $650 to $1000 per week Go to https://www.edd.ca.gov Click on COVID resources Find PUA - https://www.edd.ca.gov/about_edd/coronavirus-2019/pandemic-unemployment-assistance.htm Create online acco...

  • Updated 3 months ago by vince
Make Your Book Free on Amazon’s KDP

To make your book free on Amazon permanently make sure it’s not in KDP Select publish it for sale on as many other distributors as possible. These days, Amazon requires more than one most of the ti...

  • Updated 3 months ago by vince