I want tis script:

wait (1)
local text = "TestText"

local player = script.Parent.Parent
local gui = script.Parent
local sound = Instance.new("Sound",gui)
sound.SoundId = "http://www.roblox.com/asset/?id=14863866"
sound.Pitch = 1
sound.Volume = 0.8
local frame = gui.Frame
local text1 = frame.TextLabel
wait(1)
for i = 1,string.len(text),1 do
sound:play()
text1.Text = string.sub(text,1,i)
wait(0.4)
end
coroutine.resume(coroutine.create(function()
for i = 0,20,0.01 do
text1.Position = UDim2.new(0,0,i,0)
wait()
end
end))
for i = 1,50,1 do
text1.TextTransparency = text1.TextTransparency + 0.2
wait(0.02)
end
gui:remove()

To activate when you touch a block, im not to good with the "if humanoid touches this" thing

1 comment

1

use BasePart.Touched. you can see in wiki: https://developer.roblox.com/api-reference/event/BasePart/Touched. if this solved the problem put in title [SOLVED]