In my game, I have scrolls you can find, but when you find one, and go to get the other, you can't activate the note until you reset, and go back! 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
1st of June, 2018
We Set Up Camp In The Trees, I'm Hoping That The Rain Stops So We Can Get Food. The Jungle Wasn't The BEST Spot Due To Rain And Flooding, But It's All We Have. Once The Rain Stops, Or1g1nal And I Are Gonna Scavenge For Food. Oh, Looks Like It's Stopping Now.
-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)
