Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- --Neon Switcher--
- --Made by youngmacka123--
- --rare script until its leaked--
- print("Controls:")
- print("P = Switch to pikachu mode")
- print("N = Go back to neutral")
- print("B = Go to noob mode")
- print("-----")
- print("Pikachu mode controls")
- print("T = Taunt")
- print("E = Thunder")
- print("-----")
- print("Noob mode controls")
- print("J = get out of my room im playing minecraft")
- print("V = somebody toucha my spaghet! (broken)")
- --variables for all the modes--
- neutral = true --you start at neutral
- pikachu = false
- noob = false
- --character varaibles--
- plr = owner
- char = plr.Character
- mouse = plr:GetMouse()
- ws = char.Humanoid.WalkSpeed
- --song ids for easier song change--
- neusong = "rbxassetid://685766564" --neutral song
- pikasong = "rbxassetid://1526564338" --pikachu song
- nubsong = "rbxassetid://1081773234" --noob song
- --music--
- modemusic = Instance.new("Sound")
- modemusic.Parent = char.Torso
- modemusic.Playing = true
- modemusic.Looped = true
- modemusic.SoundId = neusong
- modemusic.Volume = 5
- --character change--
- torso = char["Torso"]
- rightarm = char["Right Arm"]
- leftarm = char["Left Arm"]
- head = char["Head"]
- leftleg = char["Left Leg"]
- rightleg = char["Right Leg"]
- bc = BrickColor
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 1
- text.Font = "Cartoon"
- text.TextStrokeColor3 = Color3.new(0, 0, 0)
- text.Text = "Choosing..."
- torso.BrickColor = BrickColor.new("Institutional white")
- rightarm.BrickColor = BrickColor.new("Institutional white")
- leftarm.BrickColor = BrickColor.new("Institutional white")
- rightleg.BrickColor = BrickColor.new("Institutional white")
- leftleg.BrickColor = BrickColor.new("Institutional white")
- head.BrickColor = BrickColor.new("Institutional white")
- head.face:Destroy()
- head.Transparency = 0.3
- rightarm.Transparency = 0.3
- leftarm.Transparency = 0.3
- rightleg.Transparency = 0.3
- leftleg.Transparency = 0.3
- torso.Transparency = 0.3
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Graphic Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("GraphicShirt") then
- v:Destroy()
- end
- end
- for _,v in pairs(char:children()) do
- if v:IsA("Shirt") then
- v.ShirtTemplate = "rbxassetid://0"
- elseif v:IsA("Pants") then
- v.PantsTemplate = "rbxassetid://0"
- elseif v:IsA("ShirtGraphic") then
- v:Remove()
- wait(.1)
- torso.roblox:Remove()
- elseif v:IsA("Accessory") then
- v:Remove()
- end
- end
- --character body parts mainly for the attacks in the modes--
- Left_Shoulder = torso:WaitForChild("Left Shoulder")
- Right_Shoulder = torso:WaitForChild("Right Shoulder")
- Left_Hip = torso:WaitForChild("Left Hip")
- Right_Hip = torso:WaitForChild("Right Hip")
- Neck = torso:WaitForChild("Neck")
- --keys section--
- --mode keys--
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="p" then
- print("Now in pikachu mode!")
- pikachu = true
- neutral = false
- noob = false
- modemusic.SoundId = pikasong
- torso.BrickColor = BrickColor.new("New Yeller")
- rightarm.BrickColor = BrickColor.new("New Yeller")
- leftarm.BrickColor = BrickColor.new("New Yeller")
- rightleg.BrickColor = BrickColor.new("New Yeller")
- leftleg.BrickColor = BrickColor.new("New Yeller")
- head.BrickColor = BrickColor.new("New Yeller")
- text.Text = "Pikachu"
- text.TextColor3 = Color3.new(255, 255, 0)
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="b" then
- print("Now in noob mode!")
- pikachu = false
- neutral = false
- noob = true
- modemusic.SoundId = nubsong
- torso.BrickColor = BrickColor.new("Bright blue")
- rightarm.BrickColor = BrickColor.new("Bright yellow")
- leftarm.BrickColor = BrickColor.new("Bright yellow")
- rightleg.BrickColor = BrickColor.new("Br. yellowish green")
- leftleg.BrickColor = BrickColor.new("Br. yellowish green")
- head.BrickColor = BrickColor.new("Bright yellow")
- text.Text = "Noob"
- text.TextColor3 = Color3.new(0, 255, 255)
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="n" then
- print("Back to choosing.")
- modemusic.SoundId = neusong
- neutral = true
- pikachu = false
- noob = false
- text.Text = "Choosing..."
- text.TextColor3 = Color3.new(0, 0, 0)
- torso.BrickColor = BrickColor.new("Institutional white")
- rightarm.BrickColor = BrickColor.new("Institutional white")
- leftarm.BrickColor = BrickColor.new("Institutional white")
- rightleg.BrickColor = BrickColor.new("Institutional white")
- leftleg.BrickColor = BrickColor.new("Institutional white")
- head.BrickColor = BrickColor.new("Institutional white")
- end
- end)
- --pikachu mode keys--
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="t" and pikachu == true then
- pts = Instance.new("Sound")
- pts.Parent = head
- pts.Playing = true
- pts.SoundId = "rbxassetid://131218535"
- pts.Volume = 999
- if pts.Playing == false then
- pts:Destroy()
- end
- wait(0.99199999999999999999999999999999999999999)
- pts:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="e" and pikachu == true then
- pths = Instance.new("Sound")
- pths.Parent = head
- pths.Playing = true
- pths.SoundId = "rbxassetid://2503972919"
- pths.Volume = 10
- cloud = Instance.new("Part")
- cloud.Parent = char
- cloud.Position = torso.Position + Vector3.new(0, 6, 0)
- cloud.CanCollide = false
- cloud.Anchored = true
- cloud.BrickColor = BrickColor.new("Dark stone grey")
- mcloud = Instance.new("SpecialMesh")
- mcloud.Parent = cloud
- mcloud.MeshId = "rbxassetid://700927324"
- torso.Anchored = true
- if pths.Playing == false then
- pths:Destroy()
- end
- wait(0.5)
- thunder = Instance.new("Part")
- thunder.Anchored = true
- thunder.CanCollide = true
- thunder.Parent = char
- thunder.Position = torso.Position
- thunder.Shape = "Ball"
- thunder.TopSurface = "Smooth"
- thunder.BottomSurface = "Smooth"
- thunder.Transparency = 0.7
- thunder.BrickColor = BrickColor.new("New Yeller")
- thunder.Material = "Neon"
- wait(0.12)
- thunder.Transparency = 0.5
- ex = Instance.new("Explosion")
- ex.Parent = thunder
- ex.Position = thunder.Position
- ex.Visible = false
- ff = Instance.new("ForceField")
- ff.Parent = char
- ff.Visible = false
- wait(0.12)
- ex:Destroy()
- ff:Destroy()
- thunder.Transparency = 0.2
- wait(0.12)
- thunder.Transparency = 0.5
- wait(0.12)
- thunder.Transparency = 0.7
- cloud.Transparency = 0.5
- wait(0.12)
- thunder:Destroy()
- cloud:Destroy()
- torso.Anchored = false
- end
- end)
- --noob mode keys--
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="j" and noob == true then
- head.Transparency = 1
- dirt = Instance.new("Part")
- dirt.Parent = char
- dirt.BrickColor = BrickColor.new("Tawny")
- dirt.Material = "Slate"
- dirt.Anchored = false
- dirt.CanCollide = false
- dirt.Size = Vector3.new(1, 1, 1)
- dirt.Position = head.Position
- dweld = Instance.new("Weld")
- dweld.Parent = dirt
- dweld.Part0 = dirt
- dweld.Part1 = head
- dirtface = Instance.new("Decal")
- dirtface.Parent = dirt
- dirtface.Face = "Front"
- dirtface.Texture = "http://www.roblox.com/asset/?id=1374326945"
- gomst = Instance.new("Sound")
- gomst.Parent = char.Head
- gomst.Volume = 10
- gomst.Playing = true
- gomst.SoundId = "rbxassetid://749031341"
- if gomst.Playing == false then
- dweld:Destroy()
- dirtface:Destroy()
- dirt:Destroy()
- gomst:Destroy()
- end
- wait(2.97699999999999999999999999999999999)
- dweld:Destroy()
- dirtface:Destroy()
- dirt:Destroy()
- gomst:Destroy()
- head.Transparency = 0.3
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=="v" and noob == true then
- spts = Instance.new("Sound")
- spts.Parent = head
- spts.TimePosition = 3
- spts.Volume = 10
- spts.Playing = true
- spts.SoundId = "rbxassetid://1309594851"
- Left_Shoulder.C0 = CFrame.new(-1.5,1,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.6,1.1,0.1)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0.1,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.5,1,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.6,1.1,0.1)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0.1,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.5,1,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.6,1.1,0.1)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0.1,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.5,1,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0.1,0)
- wait(0.12)
- Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
- Left_Shoulder.C1 = CFrame.Angles(math.rad(1000),0,0)
- end
- end)
- --name shake--
- while true do
- text.Rotation = 3
- wait(0.12)
- text.Rotation = 2
- wait(0.12)
- text.Rotation = 1
- wait(0.12)
- text.Rotation = 0
- wait(0.12)
- text.Rotation = -1
- wait(0.12)
- text.Rotation = -2
- wait(0.12)
- text.Rotation = -3
- wait(0.12)
- text.Rotation = -2
- wait(0.12)
- text.Rotation = -1
- wait(0.12)
- text.Rotation = 0
- wait(0.12)
- text.Rotation = 1
- wait(0.24)
- text.Rotation = 2
- wait(0.12)
- text.Rotation = 3
- wait(0.12)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement