Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code V2 by Mokiros")
- local RealPlayer = RealPlayer
- script.Parent = RealPlayer.Character
- --Fake event to make stuff like Mouse.KeyDown work
- local Disconnect_Function = function(this)
- this[1].Functions[this[2]] = nil
- end
- local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
- local FakeEvent_Metatable = {__index={
- Connect = function(this,f)
- local i = tostring(math.random(0,10000))
- while this.Functions[i] do
- i = tostring(math.random(0,10000))
- end
- this.Functions[i] = f
- return setmetatable({this,i},Disconnect_Metatable)
- end
- }}
- FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
- local function fakeEvent()
- return setmetatable({Functions={}},FakeEvent_Metatable)
- end
- --Creating fake input objects with fake variables
- local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- FakeMouse.keyUp = FakeMouse.KeyUp
- FakeMouse.keyDown = FakeMouse.KeyDown
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function TriggerEvent(self,ev,...)
- for _,f in pairs(self[ev].Functions) do
- f(...)
- end
- end
- FakeMouse.TriggerEvent = TriggerEvent
- UIS.TriggerEvent = TriggerEvent
- --Client communication
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=RealPlayer then return end
- FakeMouse.Target = io.Target
- FakeMouse.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
- local Mouse = owner:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,RobloxHandled)
- if RobloxHandled then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data every second frame, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- local HB = game:GetService("RunService").Heartbeat
- while true do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- --Wait 2 frames
- for i=1,2 do
- HB:Wait()
- end
- end]==],script)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local RealGame = game
- --Metatable for fake service
- local FakeService_Metatable = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
- return setmetatable(t,FakeService_Metatable)
- end
- --Fake game object
- local FakeGame = {
- GetService = function(self,s)
- return rawget(self,s) or RealGame:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = RealGame:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
- FakeGame.service = FakeGame.GetService
- FakeService(FakeGame,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = FakeGame,FakeGame.Players.LocalPlayer
- end
- --Edited by refrop
- ID = '319332735'
- Looped = false
- Music=Instance.new("Sound" ,workspace)
- Music.Name = "Music"
- if Looped == true then
- Music.Looped = true
- end
- Music.SoundId = "http://roblox.com/asset/?id=319332735"
- Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
- --full credit to krystal and rocky2u for below
- Fire = false
- Sparkles = false
- Box = false
- local Players = game.Players
- local Player = Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local dist = 25
- local trans = 0
- local dwn=false
- local Bin = Instance.new("HopperBin")
- Bin.Name = "Sans' Telekinesis"
- Bin.Parent = Player.Backpack
- local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
- local Color = Instance.new("Color3Value", ScreenGUI)
- local ColorValue = Color.Value
- local Blue = Instance.new("TextButton", ScreenGUI)
- local Red = Instance.new("TextButton", ScreenGUI)
- local Green = Instance.new("TextButton", ScreenGUI)
- local Yellow = Instance.new("TextButton", ScreenGUI)
- local Pink = Instance.new("TextButton", ScreenGUI)
- local LightBlue = Instance.new("TextButton", ScreenGUI)
- local White = Instance.new("TextButton", ScreenGUI)
- local FireTrue = Instance.new("TextButton", ScreenGUI)
- local FireFalse = Instance.new("TextButton", ScreenGUI)
- local SparklesTrue = Instance.new("TextButton", ScreenGUI)
- local SparklesFalse = Instance.new("TextButton", ScreenGUI)
- local BoxTrue = Instance.new("TextButton", ScreenGUI)
- local BoxFalse = Instance.new("TextButton", ScreenGUI)
- Color.Name = "Color"
- Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
- Blue.Transparency = 0.5
- Blue.Size = UDim2.new(0, 20 ,0, 20)
- Blue.Position = UDim2.new(1, -35, 1, -35)
- Blue.Name = "Blue"
- Blue.Text = ""
- Blue.Visible = false
- Red.BackgroundColor3 = BrickColor.new("Bright red").Color
- Red.Transparency = 0.5
- Red.Size = UDim2.new(0, 20 ,0, 20)
- Red.Position = UDim2.new(1,-65, 1, -35)
- Red.Name = "Red"
- Red.Text = ""
- Red.Visible = false
- Green.BackgroundColor3 = BrickColor.new("Bright green").Color
- Green.Transparency = 0.5
- Green.Size = UDim2.new(0, 20 ,0, 20)
- Green.Position = UDim2.new(1,-95, 1, -35)
- Green.Name = "Green"
- Green.Text = ""
- Green.Visible = false
- Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
- Yellow.Transparency = 0.5
- Yellow.Size = UDim2.new(0, 20 ,0, 20)
- Yellow.Position = UDim2.new(1,-125, 1, -35)
- Yellow.Name = "Yellow"
- Yellow.Text = ""
- Yellow.Visible = false
- Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
- Pink.Transparency = 0.5
- Pink.Size = UDim2.new(0, 20 ,0, 20)
- Pink.Position = UDim2.new(1,-155, 1, -35)
- Pink.Name = "Pink"
- Pink.Text = ""
- Pink.Visible = false
- LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
- LightBlue.Transparency = 0.5
- LightBlue.Size = UDim2.new(0, 20 ,0, 20)
- LightBlue.Position = UDim2.new(1,-185, 1, -35)
- LightBlue.Name = "LightBlue"
- LightBlue.Text = ""
- LightBlue.Visible = false
- White.BackgroundColor3 = BrickColor.new("White").Color
- White.Transparency = 0.5
- White.Size = UDim2.new(0, 20 ,0, 20)
- White.Position = UDim2.new(1,-215, 1, -35)
- White.Name = "White"
- White.Text = ""
- White.Visible = false
- FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
- FireFalse.Transparency = 0.5
- FireFalse.Size = UDim2.new(0, 50 ,0, 20)
- FireFalse.Position = UDim2.new(1,-65, 1, -65)
- FireFalse.Name = "FireFalse"
- FireFalse.Text = "Fire: F"
- FireFalse.Visible = false
- FireFalse.FontSize = "Size12"
- FireFalse.Font = "ArialBold"
- FireFalse.TextColor = BrickColor.new(255,255,255)
- FireFalse.TextTransparency = 0
- FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
- FireTrue.Transparency = 0.5
- FireTrue.Size = UDim2.new(0, 50 ,0, 20)
- FireTrue.Position = UDim2.new(1,-65, 1, -65)
- FireTrue.Name = "FireTrue"
- FireTrue.Text = "Fire: T"
- FireTrue.Visible = false
- FireTrue.FontSize = "Size12"
- FireTrue.Font = "ArialBold"
- FireTrue.TextColor = BrickColor.new(255,255,255)
- FireTrue.TextTransparency = 0
- SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
- SparklesTrue.Transparency = 0.5
- SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
- SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
- SparklesTrue.Name = "SparklesTrue"
- SparklesTrue.Text = "SP: T"
- SparklesTrue.Visible = false
- SparklesTrue.FontSize = "Size12"
- SparklesTrue.Font = "ArialBold"
- SparklesTrue.TextColor = BrickColor.new(255,255,255)
- SparklesTrue.TextTransparency = 0
- SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
- SparklesFalse.Transparency = 0.5
- SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
- SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
- SparklesFalse.Name = "SparklesFalse"
- SparklesFalse.Text = "SP: F"
- SparklesFalse.Visible = false
- SparklesFalse.FontSize = "Size12"
- SparklesFalse.Font = "ArialBold"
- SparklesFalse.TextColor = BrickColor.new(255,255,255)
- SparklesFalse.TextTransparency = 0
- BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
- BoxTrue.Transparency = 0.5
- BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
- BoxTrue.Position = UDim2.new(1,-185, 1, -65)
- BoxTrue.Name = "BoxTrue"
- BoxTrue.Text = "Box: T"
- BoxTrue.Visible = false
- BoxTrue.FontSize = "Size12"
- BoxTrue.Font = "ArialBold"
- BoxTrue.TextColor = BrickColor.new(255,255,255)
- BoxTrue.TextTransparency = 0
- BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
- BoxFalse.Transparency = 0.5
- BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
- BoxFalse.Position = UDim2.new(1,-185, 1, -65)
- BoxFalse.Name = "BoxFalse"
- BoxFalse.Text = "Box: F"
- BoxFalse.Visible = false
- BoxFalse.FontSize = "Size12"
- BoxFalse.Font = "ArialBold"
- BoxFalse.TextColor = BrickColor.new(255, 255, 255)
- BoxFalse.TextTransparency = 0
- local Credits = Instance.new("ScreenGui",Player.PlayerGui)
- local Text = Instance.new("TextLabel",Credits)
- Text.BackgroundTransparency = 1
- Text.Position = UDim2.new(0, 0, 1, -25)
- Text.Size = UDim2.new(0, 200, 0, 25)
- Text.Font = "SourceSans"
- Text.FontSize = "Size24"
- Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
- Text.TextColor3 = Color3.new(255, 255, 255)
- Text.TextXAlignment = "Left"
- local bawl = Instance.new("Part", game.Lighting)
- bawl.Name="TelekinesisGrab"
- local bp = Instance.new("BodyPosition", bawl)
- local w = Instance.new("Weld", bawl)
- function onButton1Down(mouse)
- bawl.Size = Vector3.new(2,2,2)
- bawl.Material="Neon"
- bawl.Shape=0
- bawl.Transparency=trans
- bawl.Name="TelekinesisGrab"
- bawl.CanCollide = false
- bawl.Parent = game.Workspace
- w.Parent = bawl
- w.Name = "Weld"
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.Parent = bawl
- bp.Name="lolx"
- bawl.Parent = workspace
- if mouse ~= nil then
- if mouse.Target ~= nil then
- w.Part0 = mouse.Target
- w.Part1 = bawl
- dwn = true
- if mouse.Target.Parent:FindFirstChild("Humanoid") then
- mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
- else
- print('no humanoid')
- end
- end
- end
- spawn(function()
- while dwn == true do
- ypcall(function()
- bp.Parent = bawl
- bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
- wait()
- end)
- end
- end)
- end
- function onButton1Up(mouse)
- dwn=false
- if bawl ~= nil then
- bawl.Parent=game.Lighting
- else
- print('not found')
- end
- end
- function onKeyDown(key, mouse)
- key:lower()
- if key == "r" then
- if bawl ~= nil then
- --bawl.Parent=nil
- end
- elseif key == "e" then
- local p = Instance.new("Part", workspace)
- p.Size = Vector3.new(3,3,3)
- p.Material = "Neon"
- p.Position = mouse.Hit.p + Vector3.new(0,2,0)
- p.BrickColor = bawl.BrickColor
- p.Shape = "Ball"
- p.BottomSurface = "Smooth"
- p.TopSurface = "Smooth"
- elseif key == "h" then
- if bawl ~= nil then
- if bawl:FindFirstChild("Weld") ~= nil then
- if bawl:FindFirstChild("Weld").Part0 ~= nil then
- bawl:FindFirstChild("Weld").Part0.Anchored=false
- end
- end
- end
- elseif key == "g" then
- if bawl ~= nil then
- local x = Instance.new("Explosion",workspace)
- x.Position=bawl.Position
- else
- print('some sort of error')
- end
- elseif key == "x" then
- dist=dist - 5
- elseif key == "c" then
- dist=15
- elseif key == "v" then
- dist=100
- elseif key == "z" then
- dist=dist + 5
- end
- end
- FireX = 0
- FireY = 0
- FireZ = 0
- SPX = 0
- SPY = 0
- SPZ = 0
- BoxColor = "White"
- FireFalse.MouseButton1Down:connect(function ()
- local Fire = Instance.new("Fire", bawl)
- Fire.Color = Color3.new(FireX,FireY,FireZ)
- Player.PlayerGui.ScreenGui.FireFalse.Visible = false
- Player.PlayerGui.ScreenGui.FireTrue.Visible = true
- Fire.Color = Color3.new(FireX,FireY,FireZ)
- end)
- FireTrue.MouseButton1Down:connect(function ()
- bawl.Fire:remove()
- Player.PlayerGui.ScreenGui.FireFalse.Visible = true
- Player.PlayerGui.ScreenGui.FireTrue.Visible = false
- end)
- SparklesFalse.MouseButton1Down:connect(function ()
- local SP = Instance.new("Sparkles", bawl)
- SP.Color = Color3.new(SPX,SPY,SPZ)
- Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
- Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
- end)
- SparklesTrue.MouseButton1Down:connect(function ()
- bawl.Sparkles:remove()
- Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
- Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
- end)
- BoxFalse.MouseButton1Down:connect(function ()
- local Box = Instance.new("SelectionBox", bawl)
- Box.Color = BrickColor.new(BoxColor)
- Box.Adornee = Box.Parent
- Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
- Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
- end)
- BoxTrue.MouseButton1Down:connect(function ()
- bawl.SelectionBox:remove()
- Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
- Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
- end)
- Blue.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("Bright blue")
- FireX = 0
- FireY = 0
- FireZ = 255
- SPX = 0
- SPY = 0
- SPZ = 255
- BoxColor = "Bright blue"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
- end
- end)
- Red.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("Bright red")
- FireX = 255
- FireY = 0
- FireZ = 0
- SPX = 255
- SPY = 0
- SPZ = 0
- BoxColor = "Bright red"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
- end
- end)
- Green.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("Bright green")
- FireX = 0
- FireY = 255
- FireZ = 0
- SPX = 0
- SPY = 255
- SPZ = 0
- BoxColor = "Bright green"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
- end
- end)
- Yellow.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("New Yeller")
- FireX = 255
- FireY = 255
- FireZ = 0
- SPX = 255
- SPY = 255
- SPZ = 0
- BoxColor = "New Yeller"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
- end
- end)
- Pink.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("Hot pink")
- FireX = 255
- FireY = 0
- FireZ = 255
- SPX = 255
- SPY = 0
- SPZ = 255
- BoxColor = "Hot pink"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
- end
- end)
- LightBlue.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("Cyan")
- FireX = 0
- FireY = 255
- FireZ = 255
- SPX = 0
- SPY = 255
- SPZ = 255
- BoxColor = "Cyan"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
- end
- end)
- White.MouseButton1Down:connect(function ()
- if bawl ~= nil then
- bawl.BrickColor = BrickColor.new("White")
- FireX = 255
- FireY = 255
- FireZ = 255
- SPX = 255
- SPY = 255
- SPZ = 255
- BoxColor = "White"
- game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
- game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
- game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
- end
- end)
- Bin.Selected:connect(function ()
- Fire = false
- Player.PlayerGui.ScreenGui.Blue.Visible = true
- Player.PlayerGui.ScreenGui.Red.Visible = true
- Player.PlayerGui.ScreenGui.Green.Visible = true
- Player.PlayerGui.ScreenGui.Yellow.Visible = true
- Player.PlayerGui.ScreenGui.Pink.Visible = true
- Player.PlayerGui.ScreenGui.LightBlue.Visible = true
- Player.PlayerGui.ScreenGui.White.Visible = true
- Player.PlayerGui.ScreenGui.FireFalse.Visible = true
- Player.PlayerGui.ScreenGui.FireTrue.Visible = false
- Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
- Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
- Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
- Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
- end)
- Bin.Deselected:connect(function ()
- Fire = false
- Player.PlayerGui.ScreenGui.Blue.Visible = false
- Player.PlayerGui.ScreenGui.Red.Visible = false
- Player.PlayerGui.ScreenGui.Green.Visible = false
- Player.PlayerGui.ScreenGui.Yellow.Visible = false
- Player.PlayerGui.ScreenGui.Pink.Visible = false
- Player.PlayerGui.ScreenGui.LightBlue.Visible = false
- Player.PlayerGui.ScreenGui.White.Visible = false
- Player.PlayerGui.ScreenGui.FireFalse.Visible = false
- Player.PlayerGui.ScreenGui.FireTrue.Visible = false
- Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
- Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
- Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
- Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
- end)
- Bin.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse) end)
- mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
- end)
- print 'Telek script has loaded, credit to Krystal and rocky2u'
- dot = false
- des = false
- local ChatService = game:GetService("Chat")
- local player = game.Players.LocalPlayer
- char = player.Character
- hum = char.Humanoid
- torso = hum.Torso
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(0,255,255)
- m=player:GetMouse()
- bb = Instance.new("BillboardGui",player.Character.Head)
- bb.Enabled = true
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0,200,0,50)
- bb.StudsOffset = Vector3.new(0,1,0)
- gui=Instance.new("TextBox",bb)
- gui.Text = "* "
- gui.Size = UDim2.new(0,133,0,45)
- gui.Position=UDim2.new(0,57,0,-40)
- gui.TextColor3 = Color3.new(255,255,255)
- gui.BackgroundColor3=Color3.new(0,0,0)
- gui.TextWrapped = true
- gui.TextScaled = true
- gui.TextXAlignment = "Left"
- gui.TextYAlignment = "Top"
- gui.Visible = false
- gui.BorderColor3 = Color3.new(0,0,0)
- gui1=Instance.new("TextButton",bb)
- gui1.Position=UDim2.new(0,5,0,-43)
- gui1.Size = UDim2.new(0,190,0,51)
- gui1.TextColor3 = Color3.new(255,255,255)
- gui1.BackgroundColor3=Color3.new(255,255,255)
- gui1.Visible = false
- img = Instance.new("ImageLabel",bb)
- img.Size = UDim2.new(0,46,0,47)
- img.Position = UDim2.new(0,10,0,-41)
- img.Image = "rbxassetid://388166921"
- img.BorderColor3 = Color3.new(0,0,0)
- img.Visible = false
- asd = Instance.new("Sound",player.Character.Torso)
- asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
- asd1 = Instance.new("Sound",player.Character.Torso)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
- asd2 = Instance.new("Sound",player.Character.Torso)
- asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
- asd2.Looped = true
- asd3 = Instance.new("Sound",player.Character.Torso)
- asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
- asd3.Looped = true
- asd4 = Instance.new("Sound",player.Character.Torso)
- asd4.SoundId = "http://www.roblox.com/asset/?id = 366168126"
- asd4.Looped = false
- asd5 = Instance.new("Sound",player.Character.Torso)
- asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
- asd5.Looped = true
- dunkd = Instance.new("Sound",player.Character.Torso)
- dunkd.SoundId = "http://www.roblox.com/asset/?id = 382893859"
- dunkd.Looped = false
- function play(play)
- asd:Play()
- asd1:Play()
- end
- eye = Instance.new("Part",player.Character)
- eye.BrickColor = BrickColor.new("Toothpaste")
- eye.Material = "Neon"
- eye.FormFactor = 3
- eye.Shape = "Ball"
- eye.Size = Vector3.new(0.37,0.37,0.1)
- weld = Instance.new("Weld",eye)
- weld.Part0 = eye
- weld.Part1 = player.Character.Head
- weld.C0 = CFrame.new(0.1,-0.2,0.45)
- eye.Transparency = 1
- -- listen for their chatting
- player.Chatted:connect(function(message)
- a = string.len(message)
- gui.Text = "* "
- gui.Visible = true
- gui1.Visible = true
- des = false
- img.Visible = true
- print(a)
- if dot == false then
- for i = 1,string.len(message) do wait(0.07)
- gui.Text =gui.Text..message:sub(i,i)
- play()
- end
- end
- des = true
- end)
- m.KeyDown:connect(function(k)
- if k == "g" then
- asd2:Play()
- eye.Transparency = 0
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "p" then
- eye.Transparency = 1
- asd3:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "r" then
- eye.Transparency = 0
- asd4:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "q" then
- eye.Transparency = 1
- asd5:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "z" then
- img.Image = "rbxassetid://414178632"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "c" then
- img.Image = "rbxassetid://333660171"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "n" then
- img.Image = "rbxassetid://309482690"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "b" then
- img.Image = "rbxassetid://356477236"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "m" then
- img.Image = "rbxassetid://392578302"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "v" then
- img.Image = "rbxassetid://359052889"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "h" then
- img.Image = "rbxassetid://339763092"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "j" then
- img.Image = "rbxassetid://384795061"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "l" then
- img.Image = "rbxassetid://378214121"
- print("You take your very last breath...")
- asdd = Instance.new("Sound",player.Character.Torso)
- asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
- asdd.Looped = false
- spawn(function()
- wait()
- asdd:Play()
- end)
- wait(2)
- asddd = Instance.new("Sound",player.Character.Torso)
- asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
- asddd.Looped = false
- spawn(function()
- wait()
- asddd:Play()
- end)
- wait(2)
- asdded = Instance.new("Sound",player.Character.Torso)
- asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
- asdded.Looped = false
- spawn(function()
- wait()
- asdded:Play()
- end)
- char:BreakJoints()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "x" then
- if des == true then
- gui.Visible = false
- gui.Text = "* "
- gui1.Visible = false
- img.Visible = false
- end
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "f" then
- asd3:Stop()
- asd2:Stop()
- asd4:Stop()
- dunkd:Stop()
- eye.Transparency = 1
- asd5:Stop()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "u" then
- dunkd = Instance.new("Sound",player.Character.Torso)
- dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
- dunkd.Looped = false
- dunkd:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "y" then
- img.Image = "rbxassetid://378198656"
- end
- end)
- -- my god...
- -- Suck_HiyaThere moves to arizona
- --------------------------------------------------------
- pls = game:GetService'Players'
- rs = game:GetService'RunService'
- uinps = game:GetService'UserInputService'
- lp = pls.LocalPlayer
- mouse = lp:GetMouse()
- c = lp.Character
- human = c.Humanoid
- human.MaxHealth = 50000
- soundVol = 0
- wait()
- human.Health = 50000
- c.Health:Destroy()
- --------------------------------------------------------
- Debounces = {
- AnimationCycles = 0;
- FPS = 0;
- scalingDamage = false;
- damageLevel = 0;
- attackNumber = 0;
- isAttacking = false;
- isMoving = false;
- isSprinting = false;
- isBoosting = false;
- isPassive = false;
- isTyping = false;
- }
- --------------------------------------------------------
- numLerp = function(start, goal, alpha)
- return(((goal - start) * alpha) + start)
- end
- CFrameZero = function()
- return CFrame.new(Vector3.new())
- end
- rad = function(value)
- return math.rad(value)
- end
- CFAngles = function(Vector)
- return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
- end
- --------------------------------------------------------
- AnimStat = {
- lerpSpeed = .2;
- lerpSpeed2 = .35;
- lerpTween = 0;
- }
- Joints = {
- c.HumanoidRootPart.RootJoint;
- c.Torso.Neck;
- c.Torso['Left Shoulder'];
- c.Torso['Right Shoulder'];
- c.Torso['Left Hip'];
- c.Torso['Right Hip'];
- }
- JointTargets = {
- CFrameZero();
- CFrameZero();
- CFrameZero();
- CFrameZero();
- CFrameZero();
- CFrameZero();
- }
- --------------------------------------------------------
- BodyColors = {
- HeadColor = BrickColor.new("Institutional white");
- LeftArmColor = BrickColor.new("Institutional white");
- RightArmColor = BrickColor.new("Institutional white");
- LeftLegColor = BrickColor.new("Institutional white");
- RightLegColor = BrickColor.new("Institutional white");
- TorsoColor = BrickColor.new("Mid gray");
- }
- Customs = {
- Face = "http://www.roblox.com/asset/?id=382064533";
- Shirt = "http://www.roblox.com/asset/?id=380669878";
- Pants = "http://www.roblox.com/asset/?id=415270659";
- }
- --------------------------------------------------------
- prepareCharacter = function()
- local transPoints = {
- NumberSequenceKeypoint.new(0,0,0),
- NumberSequenceKeypoint.new(.4,.05,0),
- NumberSequenceKeypoint.new(.8,.16,0),
- NumberSequenceKeypoint.new(1,.25,0)
- }
- local sizePoints = {
- NumberSequenceKeypoint.new(0,.5,0),
- NumberSequenceKeypoint.new(.18,.5,0),
- NumberSequenceKeypoint.new(.49,.69,0),
- NumberSequenceKeypoint.new(.74,.5,0),
- NumberSequenceKeypoint.new(.92,.25,0),
- NumberSequenceKeypoint.new(1,.0625,0)
- }
- local Size = NumberSequence.new(sizePoints)
- local Transparency = NumberSequence.new(transPoints)
- rayModel = Instance.new("Model",c)
- efxBlock = Instance.new("Part",c)
- efxBlock.Material = "Neon"
- efxBlock.FormFactor = "Custom"
- efxBlock.Size = Vector3.new(.3,.3,.3)
- light = Instance.new("PointLight",c.Head)
- light.Range = 8
- light.Color = Color3.new(1,1,1)
- light.Shadows = false
- local particles = Instance.new("ParticleEmitter",efxBlock)
- particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
- particles.ZOffset = 1
- particles.LightEmission = .96
- particles.Size = Size
- particles.Name = "Fire"
- particles.Transparency = Transparency
- particles.LockedToPart = true
- particles.Rate = 25
- particles.EmissionDirection = "Right"
- particles.Acceleration = Vector3.new(-.5,0,0)
- particles.Texture = "rbxassetid://24378732"
- particles.Lifetime = NumberRange.new(.25,.25)
- particles.Speed = NumberRange.new(-.5,5)
- script.Parent = efxBlock
- fire = particles
- local offset = Vector3.new(0.2, .23, -0.5)
- local weld = Instance.new("Weld",c.Head)
- weld.Part0 = c.Head
- weld.Part1 = efxBlock
- weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- efxBlock.Parent = c
- local music = Instance.new("Sound",c.Torso)
- music.SoundId = "rbxassetid://316012176"
- music.Looped = true
- music.Volume = soundVol
- fight = music
- local music2 = Instance.new("Sound",c.Torso)
- music2.SoundId = "rbxassetid://316014309"
- music2.Looped = true
- music2.Volume = soundVol
- sans = music2
- pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
- pointGyro.P = 1e7
- pointGyro.D = 1e3
- pointGyro.MaxTorque = Vector3.new(0,1e7,0)
- animator = c.Humanoid:FindFirstChild("Animator")
- if animator then
- animator:Destroy()
- end
- c.Torso.roblox:Destroy()
- for i,v in pairs (c.Head:children()) do
- if v.ClassName == "Sound" then
- v:Destroy()
- end
- end
- for i = 1,#Joints do
- Joints[i].C1 = CFrame.new(Vector3.new())
- end
- human.WalkSpeed = 0
- human.JumpPower = 0
- end
- uinps.InputBegan:connect(function(InputObject)
- if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
- Debounces.isPassive = not Debounces.isPassive
- end
- end)
- setJointCFrames = function(table)
- for i = 1,#table do
- JointTargets[i] = table[i]
- end
- AnimationCycles = 0
- end
- setLerp = function(speed)
- AnimStat.lerpSpeed = speed
- end
- setTween = function(tween)
- AnimStat.lerpTween = tween
- end
- takeDamage = function(position,damage,distance,platformStand)
- for i,v in pairs (pls:children()) do
- if v.ClassName == "Player" and v:FindFirstChild("Character") then
- local torso = v.Character:FindFirstChild("Torso")
- if torso and (torso.Position - position).magnitude < distance then
- if v.Character.Humanoid.MaxHealth > 1000 then
- v.Character.Humanoid.MaxHealth = 100;
- v.Character.Humanoid.Breakjoints()
- end
- v.Character.Humanoid:TakeDamage(damage)
- if platformStand == true then
- v.Character.PlatformStand = platformStand
- end
- end
- end
- end
- end
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- function FindInTable(t, n)
- for i,v in pairs(t) do
- if v == n then
- return true
- end
- end
- return false
- end
- --Transformaaaaation--
- char["Left Arm"].BrickColor = BrickColor.new("Medium stone")
- char["Right Arm"].BrickColor = BrickColor.new("Medium stone")
- char.Head.BrickColor = BrickColor.new("Medium stone")
- char["Left Leg"].BrickColor = BrickColor.new("Medium stone")
- char["Right Leg"].BrickColor = BrickColor.new("Medium stone")
- for i,v in pairs(char:children'') do
- local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
- if FindInTable(toremove, v.ClassName) then v:Destroy() end
- if v.ClassName == "BodyColors" then
- v.HeadColor = BrickColor.new("Really black")
- v.LeftArmColor = BrickColor.new("Really black")
- v.LeftLegColor = BrickColor.new("Really black")
- v.RightArmColor = BrickColor.new("Really black")
- v.RightLegColor = BrickColor.new("Really black")
- v.TorsoColor = BrickColor.new("Really black")
- end
- end
- wait(1)
- plr = game.Players.LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- whitecolor = Color3.new(1,1,1)
- epicmode = false
- normal = true
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
- v:Destroy()
- end
- end
- local shirt = Instance.new("Shirt",char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=535102167"
- local pants = Instance.new("Pants",char)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=540008761"
- local bdycolors = char["Body Colors"]
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v:Destroy()
- end
- end
- -- Face
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=543498118"
- -- Chat
- local talksound = Instance.new("Sound",char.Torso)
- talksound.SoundId = "rbxassetid://928210219"
- talksound.Volume = 4
- local blastsound = Instance.new("Sound",char.Torso)
- blastsound.Name = "blast_sound"
- blastsound.SoundId = "rbxassetid://345052019"
- blastsound.Volume = 4
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if char:FindFirstChild("TalkingBillBoard") ~= nil then
- char:FindFirstChild("TalkingBillBoard"):Destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = char.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Arcade"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(255, 89, 89)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Arcade"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = Color3.new(1,1,1)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- talksound:Play()
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- plr.Chatted:connect(onChatted)
- wait(2)
- chatfunc("Edited by Refrop")
- wait(2)
- chatfunc("What do we have here?")
- wait(2)
- chatfunc("Another AU...")
- wait(2)
- chatfunc("Code of this world is really trashy.")
- wait(2)
- chatfunc("I guess I am just gonna...")
- wait(2)
- chatfunc("END THIS WORLD")
- wait(0.5)
- char.Humanoid.Name = "Sans"
- local music = Instance.new("Sound",char.Torso)
- music.SoundId = "rbxassetid://377241339"
- music.Volume = 30
- music.Looped = true
- music:Play()
- LeyeColor = BrickColor.new("Really red")
- local eyemodel = Instance.new("Model",char)
- eyemodel.Name = "Eyes"
- local reye = Instance.new("Part",eyemodel)
- reye.Name = "BurningEff"
- reye.Color = Color3.new(1,1,1)
- reye.Material = "Neon"
- reye.Transparency = 1
- local reyemesh = Instance.new("SpecialMesh",reye)
- reyemesh.MeshType = "Sphere"
- reye.Size = Vector3.new(0.12, 0.37, 0.27)
- local reyeweld = Instance.new("Weld",reye)
- reyeweld.Part0 = reye
- reyeweld.Part1 = char.Head
- reyeweld.C0 = CFrame.new(-0.551300049, -0.19681406, -0.198293686, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local leye = Instance.new("Part",eyemodel)
- leye.Name = "LeftEye"
- leye.BrickColor = LeyeColor
- leye.Material = "Neon"
- leye.Size = Vector3.new(0.2,0.2,0.2)
- local leyemesh = Instance.new("SpecialMesh",leye)
- leyemesh.MeshType = "Sphere"
- leyemesh.Scale = Vector3.new(0.7,1.1,0.7)
- local leyeweld = Instance.new("Weld",leye)
- leyeweld.Part0 = leye
- leyeweld.Part1 = char.Head
- leyeweld.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local leyeclone = leye:Clone()
- leyeclone.Transparency = 1
- leyeclone.Name = "RightEye"
- leyeclone.Parent = eyemodel
- for i,v in pairs(leyeclone:GetChildren()) do
- if v.ClassName == "Weld" then
- v:Destroy()
- end
- end
- local leyeweld2 = Instance.new("Weld",leyeclone)
- leyeweld2.Part0 = leyeclone
- leyeweld2.Part1 = char.Head
- leyeweld2.C0 = CFrame.new(0.0864697844, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local fire = Instance.new("Fire",reye)
- fire.Heat = 25000
- fire.Color = leye.BrickColor.Color
- fire.Size = 2
- -- welds xd
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- for i = 0,1 ,0.03 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.925931931, -0.0977840424, 0.974765539, 0.886040092, -0.463608712, -1.69641942e-06, 0.405292064, 0.774584651, 0.485548228, -0.225103036, -0.430215806, 0.87421),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local slapsound = Instance.new("Sound",char.Torso)
- slapsound.SoundId = "rbxassetid://511340819"
- slapsound.Volume = 4
- -- Funcs
- function Blast(AAA)
- if AAA == "f" then
- local chatmath = math.random(1,3)
- if chatmath == 1 then
- chatfunc("FIRE!")
- end
- if chatmath == 2 then
- chatfunc("Do you have an ERROR in ur system?")
- end
- if chatmath == 3 then
- chatfunc("help i have an error... wait...")
- end
- local gasterblaster = Instance.new("Part",char.Torso)
- gasterblaster.Size = Vector3.new(7, 16, 4)
- gasterblaster.CanCollide = false
- local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
- gasterblastermesh.MeshId = "rbxassetid://431908407"
- gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
- local gasterblastertexture = Instance.new("Decal",gasterblaster)
- gasterblastertexture.Face = "Back"
- gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=451087762"
- local weeld = Instance.new("Weld",gasterblaster)
- weeld.Part0 = gasterblaster
- weeld.Part1 = char.Torso
- weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
- blastsound:Play()
- char.Head.Anchored = true
- wait(1)
- local blast = Instance.new("Part",gasterblaster)
- blast.Size = Vector3.new(39.07, 16.36, 367.54)
- blast.Transparency = 0.7
- blast.Material = "Neon"
- blast.Color = Color3.new(255, 0, 0)
- blast.CanCollide = true
- local blastweld = Instance.new("Weld",blast)
- blastweld.Part0 = blast
- blastweld.Part1 = gasterblaster
- blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- blast.Touched:connect(function(part)
- part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
- end)
- wait(2)
- char.Head.Anchored = false
- blast:Destroy()
- gasterblaster:Destroy()
- end
- end
- mouse.KeyDown:connect(Blast)
- function Death()
- music:Stop()
- local deadsound = Instance.new("Sound",char.Torso)
- deadsound.SoundId = "rbxassetid://427025525"
- deadsound.Volume = 4
- deadsound:Play()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- leye.Transparency = 1
- fire:Destroy()
- char.Head.face.Transparency = 1
- end
- end
- char.Sans.Died:connect(Death)
- function Transform(key)
- if key == "t" then
- music.SoundId = "rbxassetid://424026286"
- music:Stop()
- music:Play()
- chatfunc("Bro, Let me show you my true power")
- leyeclone.Transparency = 0
- local fire2 = Instance.new("Fire",leyeclone)
- fire2.Heat = 25000
- fire2.Color = leye.BrickColor.Color
- fire2.Size = 2
- end
- end
- mouse.KeyDown:connect(Transform)
- function SLAP(key)
- if key == "y" then
- if normal and not epicmode then
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405028582, -0.494292736, 0.752350092, -0.658763528, -1.01652529e-06, 0.014031955, 0.0160269327, -0.999769807, 0.658614039, 0.752179325, 0.0213016756),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local hurtbox = Instance.new("Part",char["Right Arm"])
- hurtbox.Name = "Hurtbox"
- hurtbox.Size = Vector3.new(1, 0.23, 1)
- hurtbox.Transparency = 1
- hurtbox.CanCollide = false
- local hurtboxweld = Instance.new("Weld",hurtbox)
- hurtboxweld.Part0 = hurtbox
- hurtboxweld.Part1 = char["Right Arm"]
- hurtboxweld.C0 = CFrame.new(0, 0.924999475, 3.09944153e-06, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)
- wait(0.5)
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.50000024, 0.405025482, -0.494292736, 0.999977887, 0.0066490462, 2.196479e-05, -0.000119999582, 0.0213499293, -0.999768794, -0.00664799893, 0.999750018, 0.0213503242),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- function onTouched(brick)
- local humanoid = brick.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid:Destroy()
- slapsound:Play()
- end
- end
- hurtbox.Touched:connect(onTouched)
- wait(1)
- hurtbox:Destroy()
- for i = 0,1 , 0.03 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.881086826, -0.201818228, 0.747067213, 0.882895231, 0.4695701, 1.00883415e-06, -0.397803098, 0.747956276, 0.531332433, 0.249497056, -0.469111204, 0.847163498),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end
- end
- mouse.KeyDown:connect(SLAP)
Add Comment
Please, Sign In to add comment