Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().Toggled = false
- local UIS = game:GetService("UserInputService")
- UIS.InputBegan:connect(function(input,gameProcessed)
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == Enum.KeyCode.I and UIS:GetFocusedTextBox() == nil and getgenv().Toggled == true then
- if UIS:GetFocusedTextBox() == nil then
- if getgenv().Toggled == false then
- getgenv().Toggled = true
- else
- getgenv().Toggled = true
- end;end;end;end;end)
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local CoreUI = Instance.new("ScreenGui")
- CoreUI.Parent = game.CoreGui
- function JC2()
- local Image = Instance.new("ImageLabel", CoreUI)
- Image.Image = "http://www.roblox.com/asset/?id=1179108570"
- Image.BackgroundTransparency = 100
- Image.AnchorPoint = Vector2.new(0.5, 0.5)
- Image.Size = UDim2.fromScale(5, 5, 5)
- Image.Position = UDim2.fromScale(-0.5, 0.5)
- delay(0, function()
- for i = 0, 1, 0.1 do
- local Sound1 = Instance.new("Sound", workspace)
- Sound1.Volume = 8
- Sound1.SoundId = "rbxassetid://9125351349"
- Sound1:Play()
- Image.Position = UDim2.fromScale(-Image.Position.X.Scale+i, 0.5)
- Image.ImageTransparency = Image.ImageTransparency
- wait(12)
- Sound1:Stop()
- Image:Destroy()
- sound:Destroy()
- end
- end)
- end
- JC2()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement