View difference between Paste ID: gJ7DVYQg and Fw4LdWX8
SHOW: | | - or go back to the newest paste.
1
--Script Made By >>zombieherobrine123<<, If Removed, Then You're Dead.
2
3
--https://github.com/Mokiros/roblox-FE-compatibility
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
8
9
10
11
plr = game.Players.LocalPlayer    
12
char = plr.Character
13
14
local elements = Instance.new("Model")
15
local air = Instance.new("Part")
16
local particleemitter = Instance.new("ParticleEmitter")
17
local mesh = Instance.new("SpecialMesh")
18
local base = Instance.new("Part")
19
local decal = Instance.new("Decal")
20
local fire = Instance.new("Part")
21
local particleemitter_2 = Instance.new("ParticleEmitter")
22
local mesh_2 = Instance.new("SpecialMesh")
23
local earth = Instance.new("Part")
24
local particleemitter_3 = Instance.new("ParticleEmitter")
25
local mesh_3 = Instance.new("SpecialMesh")
26
local water = Instance.new("Part")
27
local particleemitter_4 = Instance.new("ParticleEmitter")
28
local mesh_4 = Instance.new("SpecialMesh")
29
local dark = Instance.new("Part")
30
local particleemitter_5 = Instance.new("ParticleEmitter")
31
local mesh_5 = Instance.new("SpecialMesh")
32
local fire_2 = Instance.new("Fire")
33
34
Class_Name=string.reverse"321enirboreheibmoz yB paM"
35
36
37
elements.Name = "Elements"
38
elements.Parent = char
39
air.Anchored = true
40
air.Shape = Enum.PartType.Cylinder
41
air.Size = Vector3.new(5, 0.5, 0.5)
42
air.Material = Enum.Material.Neon
43
air.Name = "Air"
44
air.Orientation = Vector3.new(0, 0, 90)
45
air.BottomSurface = Enum.SurfaceType.Smooth
46
air.Color = Color3.new(0.972549, 0.972549, 0.972549)
47
air.BrickColor = BrickColor.new("Institutional white")
48
air.TopSurface = Enum.SurfaceType.Smooth
49
air.Parent = elements
50
air.CFrame = CFrame.new(88, 5, -123) * CFrame.Angles(0, 0, 1.571)
51
particleemitter.RotSpeed = NumberRange.new(360)
52
particleemitter.Lifetime = NumberRange.new(0.25)
53
particleemitter.Texture = "rbxassetid://243664672"
54
particleemitter.LightInfluence = 1
55
particleemitter.Rotation = NumberRange.new(180)
56
particleemitter.SpreadAngle = Vector2.new(360, 360)
57
particleemitter.VelocitySpread = 360
58
particleemitter.EmissionDirection = Enum.NormalId.Right
59
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.217, 0.562), NumberSequenceKeypoint.new(0.515, 0.938), NumberSequenceKeypoint.new(0.814, 0.125), NumberSequenceKeypoint.new(1, 1)})
60
particleemitter.LockedToPart = true
61
particleemitter.Parent = air
62
mesh.Scale = Vector3.new(4, 2, 2)
63
mesh.MeshType = Enum.MeshType.FileMesh
64
mesh.MeshId = "rbxassetid://9756362"
65
mesh.Parent = air
66
base.Anchored = true
67
base.Shape = Enum.PartType.Cylinder
68
base.Size = Vector3.new(0.05, 25, 25)
69
base.Material = Enum.Material.Granite
70
base.Name = "Base"
71
base.Orientation = Vector3.new(0, 0, 90)
72
base.BottomSurface = Enum.SurfaceType.Smooth
73
base.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
74
base.BrickColor = BrickColor.new("Really black")
75
base.TopSurface = Enum.SurfaceType.Smooth
76
base.Parent = elements
77
base.CFrame = CFrame.new(76, 1.5, -123) * CFrame.Angles(0, 0, 1.571)
78
decal.Texture = "http://www.roblox.com/asset/?id=93195880"
79
decal.Transparency = 0.35
80
decal.Face = Enum.NormalId.Right
81
decal.Parent = base
82
fire.Anchored = true
83
fire.Shape = Enum.PartType.Cylinder
84
fire.Size = Vector3.new(5, 0.5, 0.5)
85
fire.Material = Enum.Material.Neon
86
fire.Name = "Fire"
87
fire.Orientation = Vector3.new(0, 0, 90)
88
fire.BottomSurface = Enum.SurfaceType.Smooth
89
fire.Color = Color3.new(1, 0, 0)
90
fire.BrickColor = BrickColor.new("Really red")
91
fire.TopSurface = Enum.SurfaceType.Smooth
92
fire.Parent = elements
93
fire.CFrame = CFrame.new(76, 5, -135) * CFrame.Angles(0, 0, 1.571)
94
particleemitter_2.RotSpeed = NumberRange.new(360)
95
particleemitter_2.Lifetime = NumberRange.new(0.25)
96
particleemitter_2.Texture = "rbxassetid://341300088"
97
particleemitter_2.Rotation = NumberRange.new(180)
98
particleemitter_2.LightInfluence = 1
99
particleemitter_2.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 0, 0.0156863))
100
particleemitter_2.SpreadAngle = Vector2.new(360, 360)
101
particleemitter_2.EmissionDirection = Enum.NormalId.Right
102
particleemitter_2.VelocitySpread = 360
103
particleemitter_2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.217, 0.562), NumberSequenceKeypoint.new(0.515, 0.938), NumberSequenceKeypoint.new(0.814, 0.125), NumberSequenceKeypoint.new(1, 1)})
104
particleemitter_2.LockedToPart = true
105
particleemitter_2.Parent = fire
106
mesh_2.Scale = Vector3.new(4, 2, 2)
107
mesh_2.MeshType = Enum.MeshType.FileMesh
108
mesh_2.MeshId = "rbxassetid://9756362"
109
mesh_2.Parent = fire
110
earth.Anchored = true
111
earth.Shape = Enum.PartType.Cylinder
112
earth.Size = Vector3.new(5, 0.5, 0.5)
113
earth.Material = Enum.Material.Neon
114
earth.Name = "Earth"
115
earth.Orientation = Vector3.new(0, 0, 90)
116
earth.BottomSurface = Enum.SurfaceType.Smooth
117
earth.Color = Color3.new(0.152941, 0.27451, 0.176471)
118
earth.BrickColor = BrickColor.new("Earth green")
119
earth.TopSurface = Enum.SurfaceType.Smooth
120
earth.Parent = elements
121
earth.CFrame = CFrame.new(64, 5, -123) * CFrame.Angles(0, 0, 1.571)
122
particleemitter_3.RotSpeed = NumberRange.new(360)
123
particleemitter_3.Lifetime = NumberRange.new(0.25)
124
particleemitter_3.Texture = "rbxassetid://292732063"
125
particleemitter_3.Rotation = NumberRange.new(180)
126
particleemitter_3.LightInfluence = 1
127
particleemitter_3.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0.152941, 0.27451, 0.176471))
128
particleemitter_3.SpreadAngle = Vector2.new(360, 360)
129
particleemitter_3.EmissionDirection = Enum.NormalId.Right
130
particleemitter_3.VelocitySpread = 360
131
particleemitter_3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.217, 0.562), NumberSequenceKeypoint.new(0.515, 0.938), NumberSequenceKeypoint.new(0.814, 0.125), NumberSequenceKeypoint.new(1, 1)})
132
particleemitter_3.LockedToPart = true
133
particleemitter_3.Parent = earth
134
mesh_3.Scale = Vector3.new(4, 2, 2)
135
mesh_3.MeshType = Enum.MeshType.FileMesh
136
mesh_3.MeshId = "rbxassetid://9756362"
137
mesh_3.Parent = earth
138
water.Anchored = true
139
water.Shape = Enum.PartType.Cylinder
140
water.Size = Vector3.new(5, 0.5, 0.5)
141
water.Material = Enum.Material.Neon
142
water.Name = "Water"
143
water.Orientation = Vector3.new(0, 0, 90)
144
water.BottomSurface = Enum.SurfaceType.Smooth
145
water.Color = Color3.new(0, 0, 1)
146
water.BrickColor = BrickColor.new("Really blue")
147
water.TopSurface = Enum.SurfaceType.Smooth
148
water.Parent = elements
149
water.CFrame = CFrame.new(76, 5, -111) * CFrame.Angles(0, 0, 1.571)
150
particleemitter_4.RotSpeed = NumberRange.new(360)
151
particleemitter_4.Lifetime = NumberRange.new(0.25)
152
particleemitter_4.Texture = "rbxassetid://290968480"
153
particleemitter_4.Rotation = NumberRange.new(180)
154
particleemitter_4.LightInfluence = 1
155
particleemitter_4.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0.0666667, 0, 1))
156
particleemitter_4.SpreadAngle = Vector2.new(360, 360)
157
particleemitter_4.EmissionDirection = Enum.NormalId.Right
158
particleemitter_4.VelocitySpread = 360
159
particleemitter_4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.217, 0.562), NumberSequenceKeypoint.new(0.515, 0.938), NumberSequenceKeypoint.new(0.814, 0.125), NumberSequenceKeypoint.new(1, 1)})
160
particleemitter_4.LockedToPart = true
161
particleemitter_4.Parent = water
162
mesh_4.Scale = Vector3.new(4, 2, 2)
163
mesh_4.MeshType = Enum.MeshType.FileMesh
164
mesh_4.MeshId = "rbxassetid://9756362"
165
mesh_4.Parent = water
166
dark.Anchored = true
167
dark.Shape = Enum.PartType.Cylinder
168
dark.Size = Vector3.new(5, 0.5, 0.5)
169
dark.Material = Enum.Material.Neon
170
dark.BottomSurface = Enum.SurfaceType.Smooth
171
dark.Name = "Dark"
172
dark.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
173
dark.BrickColor = BrickColor.new("Really black")
174
dark.TopSurface = Enum.SurfaceType.Smooth
175
dark.Parent = elements
176
dark.CFrame = CFrame.new(76, 10.5, -123)
177
particleemitter_5.RotSpeed = NumberRange.new(360)
178
particleemitter_5.Lifetime = NumberRange.new(0.25)
179
particleemitter_5.Texture = "rbxassetid://569507523"
180
particleemitter_5.Rotation = NumberRange.new(180)
181
particleemitter_5.LightInfluence = 1
182
particleemitter_5.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
183
particleemitter_5.SpreadAngle = Vector2.new(360, 360)
184
particleemitter_5.EmissionDirection = Enum.NormalId.Right
185
particleemitter_5.VelocitySpread = 360
186
particleemitter_5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.217, 0.562), NumberSequenceKeypoint.new(0.515, 0.938), NumberSequenceKeypoint.new(0.814, 0.125), NumberSequenceKeypoint.new(1, 1)})
187
particleemitter_5.LockedToPart = true
188
particleemitter_5.Parent = dark
189
mesh_5.Scale = Vector3.new(2, 4, 2)
190
mesh_5.MeshType = Enum.MeshType.FileMesh
191
mesh_5.MeshId = "rbxassetid://9756362"
192
mesh_5.Parent = dark
193
fire_2.Heat = 25
194
fire_2.Color = Color3.new(0, 0, 0)
195
fire_2.Size = 7
196
fire_2.SecondaryColor = Color3.new(0, 0, 0)
197
fire_2.Parent = dark
198
warn(Class_Name.." ")