In my game, I have a few notes you can find. But when you find one, and step on it to activate it and bring up the text, and go to get the next note, you can't activate the next note until you reset, and go back to the note! Help!
Here"s The Script:
text_wrapped = true
--If true, sentences will auto-move to the next line.
--Double square brackets lets tabs and new lines work easily.
text =
[[
Visslans Log
25th of May, 2018
Hello Again. If You Are Reading This, Our Spot Was Found, We Have Most Likely Fled, And May Be Dead. If We ARE Alive, Or1g1nal And I Are Hiding In The Jungle. Or1g1nal Found A Nice Hidden Spot, So We Are Most Likely There.
-Visslan
]]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
b = script.Parent
scroll_note = b:WaitForChild'scroll_note'
b.Touched:connect(function(hit)
local c = hit.Parent
if c then
local p = game.Players:GetPlayerFromCharacter(c)
if p then
if not p.PlayerGui:FindFirstChild'scroll_note' then
local g = scroll_note:Clone()
g.cutoff.Frame.scroll.TextLabel.TextWrapped = true
g.cutoff.Frame.scroll.TextLabel.Text = text
g.Parent = p.PlayerGui
end
end
end
end)

1 comment
Can Someone Please Help?