Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- 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 te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- 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
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a 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 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) 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
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg: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")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- anim=Instance.new("Animation",workspace)
- anim.AnimationId = "http://www.roblox.com/Asset?ID=293536378"
- jun = script.Parent.Parent
- Stuff = false
- local sp = script.Parent
- local s = Instance.new("Sound")
- s.SoundId = "http://www.roblox.com/asset/?id=1173681504"
- s.Volume = 3
- s.Looped = true
- s.PlayOnRemove = false
- s.Parent = sp
- --password
- function ssj()
- s:Play()
- game:GetService("Chat"):Chat(jun.Character.Head,"Not Yet",Enum.ChatColor.Red)
- game:GetService("Chat"):Chat(jun.Character.Head,"Im Not Yet Finished",Enum.ChatColor.Red)
- game:GetService("Chat"):Chat(jun.Character.Head,"AAAAAAAAAAAAAAAHH",Enum.ChatColor.Red)
- local Effect = Instance.new("Part")
- Effect.Parent = jun.Character
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Rotation = Vector3.new(0, 0, 0)
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.formFactor = "Symmetric"
- Effect.Transparency = 0.5
- Effect.BrickColor = BrickColor.new("Bright white")
- Effect.TopSurface = "Smooth"
- Effect.BottomSurface = "Smooth"
- local EffectMesh = Instance.new("SpecialMesh")
- EffectMesh.Parent = Effect
- EffectMesh.MeshType = "FileMesh"
- EffectMesh.MeshId = ("http://www.roblox.com/asset/?id=3270017")
- EffectMesh.Scale = Vector3.new(0, 0, 0)
- local Effect2 = Instance.new("Part")
- Effect2.Parent = jun.Character
- Effect2.Anchored = true
- Effect2.CanCollide = false
- Effect2.Size = Vector3.new(1, 1, 1)
- Effect2.formFactor = "Symmetric"
- Effect2.Transparency = 0.5
- Effect2.BrickColor = BrickColor.new("Bright yellow")
- Effect2.TopSurface = "Smooth"
- Effect2.BottomSurface = "Smooth"
- local EffectMesh2 = Instance.new("SpecialMesh")
- EffectMesh2.Parent = Effect2
- EffectMesh2.MeshType = "Sphere"
- EffectMesh2.Scale = Vector3.new(0, 0, 0)
- local ex = Instance.new("Explosion")
- ex.Position = jun.Character.Torso.Position
- ex.BlastPressure = 0
- ex.Parent = workspace
- jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 20 do
- Effect.CFrame = CFrame.new(jun.Character.Torso.Position)
- Effect2.CFrame = CFrame.new(jun.Character.Torso.Position)
- Effect.Rotation = Effect.Rotation + Vector3.new(2,2,2)*4
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh2.Scale = EffectMesh2.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh2.Scale = EffectMesh2.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh2.Scale = EffectMesh2.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh2.Scale = EffectMesh2.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- EffectMesh2.Scale = EffectMesh2.Scale + Vector3.new(0.5, 0.5, 0.5)
- wait()
- Effect.Transparency = Effect.Transparency + 0.025
- wait(0.06)
- Effect2.Transparency = Effect2.Transparency + 0.025
- wait(0.06)
- end
- Effect:Remove()
- game:GetService("Chat"):Chat(jun.Character.Head,"HAAAAAAAAAAAAAAAAAAAAa",Enum.ChatColor.Red)
- Effect = Instance.new("Part")
- Effect.Parent = jun.Character
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Size = Vector3.new(1, 1, 1)
- Effect.formFactor = "Symmetric"
- Effect.Transparency = 0.5
- Effect.BrickColor = BrickColor.new("New Yeller")
- Effect.TopSurface = "Smooth"
- Effect.BottomSurface = "Smooth"
- EffectMesh = Instance.new("SpecialMesh")
- EffectMesh.Parent = Effect
- EffectMesh.MeshType = "FileMesh"
- EffectMesh.MeshId = ("http://www.roblox.com/Asset/?id=9982590")
- EffectMesh.Scale = Vector3.new(5, 5, 5)
- local ex2 = Instance.new("Explosion")
- ex2.Position = jun.Character.Torso.Position
- ex2.BlastPressure = 0
- ex2.Parent = workspace
- jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0)
- for i = 1 , 20 do
- Effect.CFrame = CFrame.new(jun.Character.Torso.Position)
- EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2, 2, 2)
- Effect.Transparency = Effect.Transparency + 0.025
- wait(0.06)
- end
- wait(1)
- Effect:Remove()
- game:GetService("Chat"):Chat(jun.Character.Head,"HAAAAAAAAAA",Enum.ChatColor.Red)
- game:GetService("Chat"):Chat(jun.Character.Head,"Kefla Prepare To Get Elliminated",Enum.ChatColor.Red)
- if Stuff == false then
- Stuff = true
- for u, c in pairs (jun.Character:GetChildren()) do
- if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then
- c.Handle.Transparency = 1
- end
- end
- local Hair4 = game.ReplicatedStorage.SSJW:Clone()
- Hair4.Parent = jun.Character
- Hair4.Name = "Hair"
- Hair4.CanCollide = false
- Hair4.Locked = true
- Hair4.CFrame = jun.Character.Torso.CFrame
- local Weld = Instance.new("Weld")
- Weld.Parent = jun.Character.Head
- Weld.Part0 = jun.Character.Head
- Weld.Part1 = Hair4
- Weld.C0 = CFrame.new(0, .9, 0.11) * CFrame.Angles(0,math.pi,0)
- if jun.Character.Torso:findFirstChild("PwnFire") == nil then
- local animTrack = jun.Character.Humanoid:LoadAnimation(anim)
- animTrack:Play()
- wait()
- end
- game:GetService("Chat"):Chat(jun.Character.Head,"AAAAAAAAAAaa",Enum.ChatColor.Red)
- game:GetService("Chat"):Chat(jun.Character.Head,"HAAAAAAAAA",Enum.ChatColor.Red)
- if jun.Character.Torso:findFirstChild("PwnSparkles") == nil then
- local fr = game.lighting.ParticleEmitter20:clone()
- fr.Parent = jun.Character.Torso
- end
- jun.Character.Humanoid.MaxHealth = 1e+7
- wait(0.3)
- jun.Character.Humanoid.Health = 1e+7
- end
- end
- function nossj()
- if Stuff == true then
- Stuff = false
- if jun.Character.Torso:findFirstChild("ParticleEmitter2")~=nil then
- jun.Character.Torso:findFirstChild("ParticleEmitter2"):Remove()
- end
- game:GetService("Chat"):Chat(jun.Character.Head,"Gr.. it Hurts.",Enum.ChatColor.Green)
- game:GetService("Chat"):Chat(jun.Character.Head,"It Does Hurts.",Enum.ChatColor.Green)
- local p = Instance.new("Part")
- p.Parent = jun.Character
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 0.1
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(22, 22, 22)
- p.TopSurface = "Smooth"
- p.BottomSurface = "Smooth"
- p.Name = "Sharingan"
- p.Shape = "Ball"
- p.CFrame = jun.Character.Torso.CFrame
- p.BrickColor = BrickColor.new("New Yeller")
- for i = 1 , 10 do
- wait(0.05)
- p.Size = p.Size + Vector3.new(-4, -4, -4)
- p.Transparency = p.Transparency + 0.1
- p.CFrame = jun.Character.Torso.CFrame
- end
- p:Remove()
- s:Remove()
- for u, c in pairs (jun.Character:GetChildren()) do
- if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then
- c.Handle.Transparency = 0
- end
- if c.Name == "Hair" then
- c:Remove()
- end
- end
- jun.Character.Humanoid.Health = 100
- wait(0.3)
- jun.Character.Humanoid.MaxHealth = 100
- end
- end
- jun.Chatted:connect(function(Msg)
- local msg = Msg:lower()
- if string.sub(msg, 1, 7) == "super saiyan white" then
- wait(0.1)
- ssj()
- end
- if string.sub(msg, 1, 13) == "ui" then
- wait(0.1)
- ssj()
- end
- if string.sub(msg, 1, 6) == "!" then
- wait(0.1)
- ssj()
- end
- if string.sub(msg, 1, 10) == "calm" then
- wait(0.1)
- nossj()
- end
- if string.sub(msg, 1, 3) == "off" then
- wait(0.1)
- nossj()
- end
- end)
- function OnDeath()
- wait()
- nossj()
- end
- hum = jun.Character.Humanoid
- jun.Character.Humanoid.Died:connect(OnDeath)
- jun = script.Parent.Parent
- Stuff = false
- --mediafire---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement