of     1   

JoeRaptorisBack
#215378968Thursday, April 27, 2017 1:20 AM GMT

-- Scroll passed this section to only edit text. function onTouch(hit) if hit.Parent:FindFirstChild("Humanoid") ~= nil then if game.Players:FindFirstChild(hit.Parent.Name) ~= nil then local player = game.Players:FindFirstChild(hit.Parent.Name) if player:FindFirstChild("PlayerGui"):FindFirstChild("ScreenGui") == nil then sg = Instance.new("ScreenGui") sg.Parent = player:FindFirstChild("PlayerGui") end if player.PlayerGui.ScreenGui:FindFirstChild("MessageBox") == nil then local f = Instance.new("ImageLabel") --does not appear anymore in online play... f.Name = "MessageBox" f.Position = UDim2.new(0.15, 0, 0.65, 0) f.Size = UDim2.new(0,0, 0,0) f.Image = "rbxassetid://752446664" f.Parent = player.PlayerGui:FindFirstChild("ScreenGui") f.BackgroundTransparency = 1 local g = Instance.new("ImageLabel") g.Name = "MessageBox" g.Position = UDim2.new(0.17, 0, 0.68, 0) g.Size = UDim2.new(0.085, 0, 0.17, 0) g.Image = "rbxassetid://629080158" g.Parent = player.PlayerGui:FindFirstChild("ScreenGui") g.BackgroundTransparency = 1 local d = Instance.new("ImageLabel") d.Name = "MessageBox" d.Position = UDim2.new(0.17, 0, 0.68, 0) d.Size = UDim2.new(0.085, 0, 0.17, 0) d.Image = "rbxassetid://629096041" d.Parent = player.PlayerGui:FindFirstChild("ScreenGui") d.BackgroundTransparency = 1 wait() f:TweenSize(UDim2.new(0.7,0, 0,170), 'Out' ,'Quad' , 0.5) while true do wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 wait(0.05) d.ImageTransparency= 1 wait(0.05) d.ImageTransparency = 0 break end wait(5) f:TweenSize(UDim2.new(0, 0,0, 0), 'Out' ,'Quad' , 0.5) wait(1) d:Destroy() g:Destroy() f:Destroy() end end end end script.Parent.Touched:connect(onTouch)
YTReptile
#215379037Thursday, April 27, 2017 1:21 AM GMT

Does it error? If so tell me which line..
JoeRaptorisBack
#215379097Thursday, April 27, 2017 1:22 AM GMT

In studio this works fine, but in online play *nothing tweens*
YTReptile
#215379550Thursday, April 27, 2017 1:30 AM GMT

well from your script it looks like when you hit the object the gui creates its self and in like a split second tweens... I would try wait(2) to see if it tweens..
JoeRaptorisBack
#215380005Thursday, April 27, 2017 1:39 AM GMT

Yeah it still, doesn't tween. It's not just this script, it's been happening with all of my tween scripts.
JoeRaptorisBack
#215385059Thursday, April 27, 2017 3:08 AM GMT

Help?
devHoodie
#215385151Thursday, April 27, 2017 3:10 AM GMT

is it local or server script r+://487783315r+://467523707r+://215869124 --luis15232
Dratik
#215386598Thursday, April 27, 2017 3:39 AM GMT

Anything in output when in server?
thunder1222
#215387986Thursday, April 27, 2017 4:08 AM GMT

I'm having the same issue.
szkiller_dev
#215389387Thursday, April 27, 2017 4:44 AM GMT

Mee too lol it broke my whole game e-e
JoeRaptorisBack
#215400085Thursday, April 27, 2017 10:19 AM GMT

I'm wondering why the tween not working is not a live notification. I mean, Only if this is happening to everyone of course? Anyone have output errors, because there are none in the roblox remote monitor for me.
J_oshyy
#215401863Thursday, April 27, 2017 11:01 AM GMT

Make sure that script is in a local script as when you want to tween something now, it must be from within a local script rather than a normal script, I had the same problem too but I just changed into a local script and bam.
Disillusions
#215401919Thursday, April 27, 2017 11:02 AM GMT

whats with the while loop
JoeRaptorisBack
#215402802Thursday, April 27, 2017 11:23 AM GMT

Yeah, I changed this to a local script and now the entire script won't work at all in studio or online play?
j0ezz
#215403632Thursday, April 27, 2017 11:42 AM GMT

wait, how to do this script? how to put this script in the game? tell me please or reply.
J_oshyy
#215405121Thursday, April 27, 2017 12:17 PM GMT

Smh
RubyEpicFox
#215405590Thursday, April 27, 2017 12:31 PM GMT

server scripts can't acces the player gui with fe, you have to do it local.
JoeRaptorisBack
#215419316Thursday, April 27, 2017 6:14 PM GMT

u mean put this in a local script? I already did that, not working.
Coasterteam
#215423495Thursday, April 27, 2017 7:54 PM GMT

Having the same issue. - Coasterteam -
RubyEpicFox
#215467775Friday, April 28, 2017 11:01 AM GMT

putting the script in a gui wont work, you have to modify it to the gui put in.
JoeRaptorisBack
#215470901Friday, April 28, 2017 11:58 AM GMT

Can someone script this for me, I have no idea how to make a touch function work from starter gui???
RubyEpicFox
#215474582Friday, April 28, 2017 12:58 PM GMT

local part = game.Workspace["Part name here."] part.Touched:connect(function(h) --DO YOUR STUFF HERE. end) there u go.
JoeRaptorisBack
#215492454Friday, April 28, 2017 6:08 PM GMT

local part = game.Workspace["Part name here."] ################################ ## What is the h in the function supposed to represent, hit?
JoeRaptorisBack
#215507738Friday, April 28, 2017 10:45 PM GMT

I don't think its that simple, I tried your way and it didn't work. Anyone have any ideas to get this script working within a local script.

    of     1