View difference between Paste ID: fHczGHZW and fb7Fr3t8
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
5
6
7
local player = owner
8
local Cha = player.Character
9
local mouse = player:GetMouse()
10
local henshine = false
11
local RAC = Cha.Torso:WaitForChild("Right Shoulder")
12
local LAC = Cha.Torso:WaitForChild("Left Shoulder")
13
local RA = Cha:FindFirstChild("Right Arm")
14
local LA = Cha:FindFirstChild("Left Arm")
15
local Torso = Cha.Torso
16
local Head = Cha.Head
17
local RL = Cha:FindFirstChild("Right Leg")
18
local LL = Cha:FindFirstChild("Left Leg")
19
local Humanoid = Cha.Humanoid
20
21-
function Driver()
21+
22
23-
local Driver = Instance.new("Part")
23+
24-
Driver.Parent = Cha.Torso
24+
player.Chatted:connect(function(message)
25-
Driver.BrickColor = BrickColor.new("New Yeller")
25+
	local msg = string.lower(message)
26-
Driver.CanCollide = false
26+
	if string.find(msg, "spit") then
27-
Driver.Material = "Neon"
27+
    Torso.Neck.C0 = CFrame.Angle(24.16, 0, 0)
28-
local weld = Instance.new("Weld")
28+
    wait(0.4)
29-
weld.Part0 = Cha.Torso
29+
    Torso.Neck.C0 = CFrame.Angle(-9.48, 0, 0)
30-
weld.Part1 = Driver
30+
    Sound0 = Instance.new("Sound")
31-
weld.C1 = CFrame.new(0,0.7,0.1)
31+
ParticleEmitter1 = Instance.new("ParticleEmitter")
32-
weld.Parent = Driver
32+
ParticleEmitter2 = Instance.new("ParticleEmitter")
33-
local BeyondDriver = Instance.new("SpecialMesh")
33+
ParticleEmitter3 = Instance.new("ParticleEmitter")
34-
BeyondDriver.MeshType = "FileMesh"
34+
Sound0.Name = "Spit Sound"
35-
BeyondDriver.MeshId = "rbxassetid://3101785948"
35+
Sound0.Parent = mas
36-
BeyondDriver.Parent = Driver
36+
Sound0.SoundId = "rbxassetid://1370363170"
37-
local Black = Instance.new("Part")
37+
ParticleEmitter1.Name = "1"
38-
Black.Parent = Cha.Torso
38+
ParticleEmitter1.Parent = Head
39-
Black.BrickColor = BrickColor.new("Really black")
39+
ParticleEmitter1.Speed = NumberRange.new(30, 35)
40-
Black.CanCollide = false
40+
ParticleEmitter1.Rotation = NumberRange.new(-180, 180)
41-
Black.Material = "Neon"
41+
ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0.666667, 1, 1))
42-
local weld1 = Instance.new("Weld")
42+
ParticleEmitter1.LightEmission = 0.20000000298023
43-
weld1.Part0 = Cha.Torso
43+
ParticleEmitter1.Texture = "rbxassetid://241685484"
44-
weld1.Part1 = Black
44+
ParticleEmitter1.Transparency = NumberSequence.new(0.70624995231628,0.41874998807907,1)
45-
weld1.C1 = CFrame.new(0.3,0.7,0.6)
45+
ParticleEmitter1.ZOffset = 1
46-
weld1.Parent = Black
46+
ParticleEmitter1.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
47-
local E = Instance.new("SpecialMesh")
47+
ParticleEmitter1.Acceleration = Vector3.new(0, -100, 0)
48-
E.MeshType = "FileMesh"
48+
ParticleEmitter1.EmissionDirection = Enum.NormalId.Front
49-
E.MeshId = "rbxassetid://3101791766"
49+
ParticleEmitter1.Lifetime = NumberRange.new(1.2999999523163, 1.2999999523163)
50-
E.Parent = Black
50+
ParticleEmitter1.Rate = 1
51-
local SongDriver = Instance.new("Sound")
51+
ParticleEmitter1.RotSpeed = NumberRange.new(-180, 180)
52-
SongDriver.Parent = Cha.Torso
52+
ParticleEmitter1.SpreadAngle = Vector2.new(6, 6)
53-
SongDriver.SoundId = "rbxassetid://3096751301"
53+
ParticleEmitter1.VelocitySpread = 6
54-
SongDriver.Volume = 15
54+
ParticleEmitter2.Name = "1"
55-
SongDriver:Play()
55+
ParticleEmitter2.Parent = Head
56-
wait(2.6)
56+
ParticleEmitter2.Speed = NumberRange.new(30, 35)
57-
SongDriver:Destroy()
57+
ParticleEmitter2.Rotation = NumberRange.new(-180, 180)
58
ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0.666667, 1, 1))
59
ParticleEmitter2.LightEmission = 0.20000000298023
60
ParticleEmitter2.Texture = "rbxassetid://241685484"
61
ParticleEmitter2.Transparency = NumberSequence.new(0.70624995231628,0.41874998807907,1)
62-
Driver()
62+
ParticleEmitter2.ZOffset = 1
63
ParticleEmitter2.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
64-
function henshin()
64+
ParticleEmitter2.Acceleration = Vector3.new(0, -100, 0)
65-
local SongDriver1 = Instance.new("Sound")
65+
ParticleEmitter2.EmissionDirection = Enum.NormalId.Front
66-
SongDriver1.Parent = Cha.Torso
66+
ParticleEmitter2.Lifetime = NumberRange.new(1.2999999523163, 1.2999999523163)
67-
SongDriver1.SoundId = "rbxassetid://3096751301"
67+
ParticleEmitter2.Rate = 1
68-
SongDriver1.Volume = 0
68+
ParticleEmitter2.RotSpeed = NumberRange.new(-180, 180)
69-
SongDriver1:Play()
69+
ParticleEmitter2.SpreadAngle = Vector2.new(6, 6)
70-
wait(2.6)
70+
ParticleEmitter2.VelocitySpread = 6
71-
SongDriver1.Volume = 15
71+
ParticleEmitter3.Name = "1"
72-
wait(3.5)
72+
ParticleEmitter3.Parent = Head
73-
local Watch1 = Instance.new("Part")
73+
ParticleEmitter3.Speed = NumberRange.new(30, 35)
74-
Watch1.Parent = Cha.Torso
74+
ParticleEmitter3.Rotation = NumberRange.new(-180, 180)
75-
Watch1.CFrame = Cha.Torso.CFrame*CFrame.new(0,4,5)
75+
ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0.666667, 1, 1))
76-
Watch1.BrickColor = BrickColor.new("New Yeller")
76+
ParticleEmitter3.LightEmission = 0.20000000298023
77-
Watch1.CanCollide = false
77+
ParticleEmitter3.Texture = "rbxassetid://241685484"
78-
Watch1.Material = "Neon"
78+
ParticleEmitter3.Transparency = NumberSequence.new(0.70624995231628,0.41874998807907,1)
79-
Watch1.Anchored = true 
79+
ParticleEmitter3.ZOffset = 1
80-
local Screen = Instance.new("Part")
80+
ParticleEmitter3.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
81-
Screen.Parent = Cha.Torso
81+
ParticleEmitter3.Acceleration = Vector3.new(0, -100, 0)
82-
Screen.CFrame = Cha.Torso.CFrame*CFrame.new(0,4,4.3)
82+
ParticleEmitter3.EmissionDirection = Enum.NormalId.Front
83-
Screen.BrickColor = BrickColor.new("White")
83+
ParticleEmitter3.Lifetime = NumberRange.new(1.2999999523163, 1.2999999523163)
84-
Screen.CanCollide = false
84+
ParticleEmitter3.Rate = 1
85-
Screen.Material = "Neon"
85+
ParticleEmitter3.RotSpeed = NumberRange.new(-180, 180)
86-
Screen.Anchored = true 
86+
ParticleEmitter3.SpreadAngle = Vector2.new(6, 6)
87-
Screen.Size = Vector3.new(7.84, 7.24, 0.05)
87+
ParticleEmitter3.VelocitySpread = 6
88-
Screen.Transparency = 1
88+
Sound0:Play()
89-
local E = Instance.new("Part")
89+
wait(1)
90-
E.Parent = Cha.Torso
90+
Sound0:Destroy()
91-
E.CFrame = Cha.Torso.CFrame*CFrame.new(0,2,0)
91+
ParticleEmitter1:Destroy()
92-
E.Shape = "Cylinder"
92+
ParticleEmitter2:Destroy()
93-
E.BrickColor = BrickColor.new("New Yeller")
93+
ParticleEmitter3:Destroy()
94-
E.CanCollide = false
94+
95-
E.Material = "Neon"
95+
end)