Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you make a Note Script? CanCollideBlock?

Asked by 6 years ago

So How Would I just make a script where if someone got within range of a block (Or Inside it) Would I make a line of text appear on the bottom of there screen?

I know how to make the block cancollideable but not how to script it.

2 answers

Log in to vote
0
Answered by 6 years ago

..What?

0
^ CaptaiinNoob 52 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

Try using a LocalScript if you want it to only be for the player that come close within range. Put this in the Brick that is your range.

This could work, it may not.

--Made by TheArcticTerminal
local brickRange = script.Parent
local player = game.Players.LocalPlayer 

brickRange.Transparency = 1
brickRange.Touched:connect(function(Hit)
    if hit == player.Character:FindFirstChild("Humanoid") then
        m = instance.new("Message")
        m.Parent = player
        m.Text = ("Insert Text here")
        wait(1)
        hit:BreakJoints
    end
end)

Answer this question