SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | - | peron = game.Players["lifeepic"] |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | 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 | |
6 | ||
7 | ||
8 | if script.ClassName~="LocalScript" then wait(math.huge) end | |
9 | peron = game.Players["SNEAKY_Dodge"] | |
10 | Player=peron | |
11 | player=peron | |
12 | person=peron | |
13 | Person=peron | |
14 | script.Parent=peron | |
15 | FF=false | |
16 | FF2=Instance.new("ForceField") | |
17 | --if peron.Backpack:findFirstChild("Chair") == nil then | |
18 | -- local h = Instance.new("HopperBin") | |
19 | -- h.Name = "Chair" h.Parent = peron.Backpack | |
20 | -- script.Parent = h | |
21 | -- p = Instance.new("IntValue") | |
22 | -- p.Name = "Damage" p.Parent = h | |
23 | -- p.Value = 75 | |
24 | -- wait(math.huge) | |
25 | -- end | |
26 | range = 50 | |
27 | speed = 15 | |
28 | function chair() | |
29 | local h = Instance.new("HopperBin") | |
30 | FIRE=false | |
31 | h.Name = "Chair" h.Parent = peron.Backpack | |
32 | p = Instance.new("IntValue") | |
33 | p.Name = "Damage" p.Parent = h | |
34 | p.Value = 75 | |
35 | wait(1) | |
36 | local bin = peron.Backpack.Chair | |
37 | me1 = peron me = peron.Character | |
38 | distance = 3/2 | |
39 | follow = false | |
40 | damage = bin.Damage | |
41 | p = Instance.new("IntValue") | |
42 | p.Name = "Safe" p.Parent = me | |
43 | if me:findFirstChild("part1") == nil then | |
44 | local part1 = Instance.new("Seat") | |
45 | part1.BrickColor = BrickColor.new("Black") | |
46 | part1.Transparency = 0 part1.TopSurface = 0 part1.BottomSurface = 0 part1.Reflectance = math.huge part1.Locked = true part1.Size = Vector3.new(1,1,1) part1.Anchored = false part1.Shape = 0 part1.CanCollide = false part1.Name = "part1" | |
47 | local mesh = Instance.new("SpecialMesh") mesh.Parent = part1 part1.Reflectance=math.huge mesh.Scale = Vector3.new(2,1.75,2) mesh.MeshType = "Sphere" | |
48 | bp = Instance.new("BodyPosition") bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
49 | bp.Parent = part1 | |
50 | bp.position=peron.Character.Torso.Position | |
51 | part1.CFrame=peron.Character.Torso.CFrame | |
52 | local bg = Instance.new("BodyGyro") bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) bg.Parent = part1 | |
53 | main = part1:Clone() | |
54 | local part2 = Instance.new("Part") part2.BrickColor = BrickColor.new("White") part2.Transparency = 0 part2.TopSurface = 0 part2.BottomSurface = 0 part2.Locked = true part2.Size = Vector3.new(1,1,1) part2.Anchored = false part2.Shape = 0 part2.CanCollide = false part2.Name = "part2" | |
55 | local mesh = Instance.new("BlockMesh") mesh.Parent = part2 mesh.Scale = Vector3.new(3,0.75,3) | |
56 | local part3 = Instance.new("Part") part3.BrickColor = BrickColor.new("White") part3.Transparency = 0 part3.TopSurface = 0 part3.BottomSurface = 0 part3.Locked = true part3.Size = Vector3.new(1,0.5,1) part3.Anchored = false part3.Shape = 0 part3.CanCollide = false part3.Name = "part3" | |
57 | local mesh = Instance.new("CylinderMesh") mesh.Parent = part3 mesh.Scale = Vector3.new(2.5,0.5,2.5) | |
58 | local part4 = Instance.new("Part") part4.BrickColor = BrickColor.new("White") part4.Transparency = 0 part4.TopSurface = 0 part4.BottomSurface = 0 part4.Locked = true part4.Size = Vector3.new(1,1,1) part4.Anchored = false part4.Shape = 0 part4.CanCollide = false part4.Name = "part4" | |
59 | local mesh = Instance.new("BlockMesh") mesh.Parent = part4 mesh.Scale = Vector3.new(3,3,0.5) | |
60 | local part5 = Instance.new("Part") part5.BrickColor = BrickColor.new("White") part5.Transparency = 0 part5.TopSurface = 0 part5.BottomSurface = 0 part5.Locked = true part5.Size = Vector3.new(1,0.5,1) part5.Anchored = false part5.Shape = 0 part5.CanCollide = false part5.Name = "part5" | |
61 | local mesh = Instance.new("CylinderMesh") mesh.Parent = part5 mesh.Scale = Vector3.new(1.5,0.5,1.5) | |
62 | local part6 = Instance.new("Part") part6.BrickColor = BrickColor.new("Black") part6.Transparency = 0 part6.TopSurface = 0 part6.BottomSurface = 0 part6.Locked = true part6.Size = Vector3.new(1,1,1) part6.Anchored = false part6.Shape = 0 part6.CanCollide = false part6.Name = "part6" | |
63 | local mesh1 = Instance.new("SpecialMesh") mesh1.Parent = part6 part6.Reflectance=math.huge mesh1.Scale = Vector3.new(1,1,1) mesh1.MeshType = "Sphere" | |
64 | local part7 = Instance.new("Part") part7.BrickColor = BrickColor.new("White") part7.Transparency = 0 part7.TopSurface = 0 part7.BottomSurface = 0 part7.Locked = true part7.Size = Vector3.new(1,1,1) part7.Anchored = false part7.Shape = 0 part7.CanCollide = false part7.Name = "part7" | |
65 | local mesh = Instance.new("BlockMesh") mesh.Parent = part7 mesh.Scale = Vector3.new(1,0.25,1) | |
66 | local part8 = Instance.new("Part") part8.BrickColor = BrickColor.new("White") part8.Transparency = 0 part8.TopSurface = 0 part8.BottomSurface = 0 part8.Locked = true part8.Size = Vector3.new(1,1,1) part8.Anchored = false part8.Shape = 0 part8.CanCollide = false part8.Name = "part8" | |
67 | local mesh = Instance.new("BlockMesh") mesh.Parent = part8 mesh.Scale = Vector3.new(1,0.25,1) | |
68 | local part9 = Instance.new("Part") part9.BrickColor = BrickColor.new("White") part9.Transparency = 0 part9.TopSurface = 0 part9.BottomSurface = 0 part9.Locked = true part9.Size = Vector3.new(1,1,1) part9.Anchored = false part9.Shape = 0 part9.CanCollide = false part9.Name = "part9" | |
69 | local mesh = Instance.new("BlockMesh") mesh.Parent = part9 mesh.Scale = Vector3.new(1,0.25,3) | |
70 | local part10 = Instance.new("Part") part10.BrickColor = BrickColor.new("White") part10.Transparency = 0 part10.TopSurface = 0 part10.BottomSurface = 0 part10.Locked = true part10.Size = Vector3.new(1,1,1) part10.Anchored = false part10.Shape = 0 part10.CanCollide = false part10.Name = "part10" | |
71 | local mesh = Instance.new("BlockMesh") mesh.Parent = part10 mesh.Scale = Vector3.new(1,0.25,3) | |
72 | part11 = Instance.new("Part") part11.BrickColor = BrickColor.new("Black") part11.Transparency = 0 part11.TopSurface = 0 part11.BottomSurface = 0 part11.Locked = true part11.Size = Vector3.new(1,1,1) part11.Anchored = false part11.Shape = 0 part11.CanCollide = false part11.Name = "part11" | |
73 | local mesh = Instance.new("BlockMesh") mesh.Parent = part11 mesh.Scale = Vector3.new(0.2,0.2,0.5) | |
74 | part12 = Instance.new("Part") part12.BrickColor = BrickColor.new("Black") part12.Transparency = 0 part12.TopSurface = 0 part12.BottomSurface = 0 part12.Locked = true part12.Size = Vector3.new(1,1,1) part12.Anchored = false part12.Shape = 0 part12.CanCollide = false part12.Name = "part12" | |
75 | local mesh = Instance.new("BlockMesh") mesh.Parent = part12 mesh.Scale = Vector3.new(0.2,0.2,0.5) main.Parent = me part2.Parent = me part3.Parent = me part4.Parent = me part5.Parent = me part6.Parent = me part7.Parent = me part8.Parent = me part9.Parent = me part10.Parent = me part11.Parent = me part12.Parent = me | |
76 | ||
77 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part2 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, -0.5, 0) | |
78 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part3 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0) | |
79 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part4 weld.C1 = CFrame.fromEulerAnglesXYZ(-0.1, 0, 0) * CFrame.new(0, -2, -0.75) | |
80 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part5 weld.C1 = CFrame.fromEulerAnglesXYZ(-4.815, 0, 0) * CFrame.new(0, -2, -1) | |
81 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part6 weld.C1 = CFrame.fromEulerAnglesXYZ(-4.815, 0, 0) * CFrame.new(0, -2, -1.25) | |
82 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part7 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(1.75, -0.5, 0) | |
83 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part8 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-1.75, -0.5, 0) | |
84 | ||
85 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part9 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-1.5, -1.875, 0) | |
86 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part10 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(1.5, -1.875, 0) | |
87 | ||
88 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part11 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(2, -0.5, 0.75) | |
89 | local weld = Instance.new("Weld") weld.Parent = main weld.Part0 = main weld.Part1 = part12 weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-2, -0.5, 0.75) | |
90 | ||
91 | end | |
92 | beam=Instance.new("Part") | |
93 | beam1=Instance.new("Part") | |
94 | function wire(pos1,pos2,ref) | |
95 | local P = beam | |
96 | local P2 = pos1 | |
97 | local P1 = pos2 | |
98 | P.Parent=peron | |
99 | P.Name = "Beam" | |
100 | local Place0 = CFrame.new(P2.x,P2.y,P2.z) | |
101 | P.formFactor = 0 | |
102 | --P.Size = Vector3.new(1,1,(P1 - P2).magnitude) | |
103 | P.Size=Vector3.new(0.1,0.1,0.1) | |
104 | P.CFrame = CFrame.new((P1 + P2)/2,Place0.p) | |
105 | P.Parent = player.Character | |
106 | P.BrickColor = BrickColor.new("Bright blue") | |
107 | P.Transparency = 0.5 | |
108 | P.Reflectance = ref | |
109 | P.Anchored = true | |
110 | P.CanCollide = false | |
111 | P.TopSurface = "Smooth" | |
112 | P.BottomSurface = "Smooth" | |
113 | local m = Instance.new("SpecialMesh") | |
114 | m.Parent = P | |
115 | m.MeshType = "Brick" | |
116 | m.Scale = Vector3.new(.1,.1,(P1 - P2).magnitude) | |
117 | return P | |
118 | end | |
119 | ||
120 | ||
121 | function wire2(pos1,pos2,ref) | |
122 | local P = beam1 | |
123 | local P2 = pos1 | |
124 | local P1 = pos2 | |
125 | P.Name = "Beam" | |
126 | local Place0 = CFrame.new(P2.x,P2.y,P2.z) | |
127 | P.formFactor = 0 | |
128 | P.Parent=peron | |
129 | --P.Size = Vector3.new(1,1,(P1 - P2).magnitude) | |
130 | P.Size=Vector3.new(0.1,0.1,0.1) | |
131 | P.CFrame = CFrame.new((P1 + P2)/2,Place0.p) | |
132 | P.Parent = player.Character | |
133 | P.BrickColor = BrickColor.new("Bright blue") | |
134 | P.Transparency = 0.5 | |
135 | P.Reflectance = ref | |
136 | P.Anchored = true | |
137 | P.CanCollide = false | |
138 | P.TopSurface = "Smooth" | |
139 | P.BottomSurface = "Smooth" | |
140 | local m = Instance.new("SpecialMesh") | |
141 | m.Parent = P | |
142 | m.MeshType = "Brick" | |
143 | m.Scale = Vector3.new(.1,.1,(P1 - P2).magnitude) | |
144 | return P | |
145 | end | |
146 | ||
147 | ||
148 | ||
149 | function Balefire(pos, obj) | |
150 | hum = obj.Parent:findFirstChild("Humanoid") | |
151 | if hum ~= nil then | |
152 | local P = Instance.new("Part") | |
153 | P.Name = "Laser" | |
154 | local Place0 = me.part12.CFrame | |
155 | P.formFactor = 0 | |
156 | P.Parent = game.Workspace | |
157 | P.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
158 | P.Transparency = 0.25 P.Reflectance = 0.25 P.Anchored = true P.formFactor = "Plate" P.CanCollide = false | |
159 | pl = Instance.new("BlockMesh") | |
160 | pl.Scale = Vector3.new(0.1,0.2,1) | |
161 | pl.Parent = P | |
162 | P.Size = Vector3.new(1,0.4,(Place0.p - pos).magnitude) | |
163 | P.CFrame = CFrame.new((Place0.p + pos)/2, Place0.p) | |
164 | if hum.Health <= 100 then | |
165 | hum.Health = hum.Health - damage.Value else hum.Health = 0 end wait(0.01) P:Remove() end | |
166 | end | |
167 | function Balefire1(pos, obj) | |
168 | hum = obj.Parent:findFirstChild("Humanoid") | |
169 | if hum ~= nil then | |
170 | local P = Instance.new("Part") P.Name = "Laser" | |
171 | local Place0 = me.part11.CFrame P.formFactor = 0 P.Parent = game.Workspace | |
172 | P.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
173 | P.Transparency = 0.25 P.Reflectance = 0.25 P.Anchored = true P.formFactor = "Plate" P.CanCollide = false | |
174 | pl = Instance.new("BlockMesh") pl.Scale = Vector3.new(0.1,0.2,1) pl.Parent = P | |
175 | P.Size = Vector3.new(1,0.4,(Place0.p - pos).magnitude) P.CFrame = CFrame.new((Place0.p + pos)/2, Place0.p) | |
176 | if hum.Health <= 100 then hum.Health = hum.Health - damage.Value else hum.Health = 0 end wait(0.01) P:Remove() end | |
177 | end | |
178 | function findNearestTorso(pos) | |
179 | local list = game.Workspace:getChildren() | |
180 | local torso = nil | |
181 | local dist = range | |
182 | local temp = nil | |
183 | local human = nil | |
184 | local temp2 = nil | |
185 | for x = 1, #list do | |
186 | temp2 = list[x] | |
187 | local safe = temp2:findFirstChild("Safe") | |
188 | if (temp2.className == "Model") and (safe == nil) and damage.Value > 0 then | |
189 | temp = temp2:findFirstChild("Torso") human = temp2:findFirstChild("Humanoid") | |
190 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
191 | if (temp.Position - pos).magnitude < dist then | |
192 | torso = temp dist = (temp.Position - pos).magnitude | |
193 | end | |
194 | end | |
195 | end | |
196 | if (temp2.className == "Model") and damage.Value <= 0 then | |
197 | temp = temp2:findFirstChild("Torso") | |
198 | human = temp2:findFirstChild("Humanoid") | |
199 | if (temp ~= nil) and (human ~= nil) and (human.Health < 100) then | |
200 | if (temp.Position - pos).magnitude < dist then | |
201 | torso = temp | |
202 | dist = (temp.Position - pos).magnitude | |
203 | end | |
204 | end | |
205 | end | |
206 | end | |
207 | return torso | |
208 | end | |
209 | function onButton1Down(mouse) | |
210 | local player = peron | |
211 | main = me.part1 | |
212 | main.Anchored = false | |
213 | me1 = peron | |
214 | follow = true | |
215 | while follow == true do | |
216 | distance = 3/2 mousehit = mouse.Hit.p if (main.BodyPosition.position - mousehit).magnitude >speed then | |
217 | main_mousehit = (main.BodyPosition.position - mousehit).unit*speed | |
218 | else | |
219 | main_mousehit = (main.BodyPosition.position - mousehit).unit*1 | |
220 | end | |
221 | start1 = main.BodyPosition.position-main_mousehit | |
222 | main.BodyPosition.position = Vector3.new(start1.x, start1.y, start1.z) | |
223 | local dir = (mousehit - main.Position).unit | |
224 | local spawnPos = main.Position | |
225 | local pos = spawnPos + (dir * 1) | |
226 | local dir = (pos - main.Position) | |
227 | local Angle = ((mouse.ViewSizeX/2)-mouse.X)/100 | |
228 | if math.abs(Angle) > 1 then if Angle > 0 then Angle = Angle - 1 else Angle = Angle + 1 end | |
229 | ||
230 | Angle = Angle * math.abs(26) / 70 main.BodyGyro.cframe = CFrame.new(pos, pos + dir) * CFrame.fromEulerAnglesXYZ(0, 0, Angle) else main.BodyGyro.cframe = CFrame.new(pos, pos + dir) end | |
231 | wait() end end | |
232 | function onButton1Up(mouse) | |
233 | main = me.part1 | |
234 | main.Anchored = false | |
235 | follow = false | |
236 | end | |
237 | local msg = Instance.new("Hint") | |
238 | ||
239 | function say(tehmessage) | |
240 | msg.Parent = me1 | |
241 | msg.Text = tehmessage | |
242 | wait(2) | |
243 | msg.Parent = nil | |
244 | end | |
245 | ||
246 | function onKeyUp(key,mouse) | |
247 | if (key=="e") then FIRE=false end | |
248 | end | |
249 | ||
250 | function onKeyDown(key,mouse) | |
251 | if (key~=nil) then | |
252 | if (key=="f") then speed = speed+1 say("speed: "..speed) | |
253 | elseif (key=="c") then | |
254 | speed = speed-1 say("speed: "..speed) | |
255 | elseif (key=="g") then | |
256 | range = range+1 say("range: "..range) | |
257 | elseif (key=="x") then | |
258 | FF3=Instance.new("ForceField",peron.Character) | |
259 | main.Anchored=true | |
260 | X=Instance.new("Explosion") | |
261 | X.Parent=workspace | |
262 | X.BlastPressure=math.huge | |
263 | X.BlastRadius=10 | |
264 | X.Position=peron.Character.Torso.Position | |
265 | while X.Parent do wait() end | |
266 | wait() | |
267 | FF3:remove() | |
268 | main.Anchored=false | |
269 | elseif (key=="v") then | |
270 | if range == 0 then return end | |
271 | range = range-1 say("range: "..range) | |
272 | elseif (key=="h") then | |
273 | damage.Value = damage.Value+1 say("damage: "..damage.Value) | |
274 | elseif (key=="m") then | |
275 | main.CFrame=peron.Character.Torso.CFrame | |
276 | main.BodyPosition.position=peron.Character.Torso.Position | |
277 | elseif (key=="n") then | |
278 | FF=not FF | |
279 | if FF then FF2.Parent=peron.Character else FF2.Parent=nil end | |
280 | elseif (key=="b") then | |
281 | damage.Value = damage.Value-1 say("damage: "..damage.Value) | |
282 | elseif (key=="r") then | |
283 | speed = 2 range = 0 damage.Value = 0 say("speed: "..speed) say("damage: "..damage.Value) say("range: "..range) | |
284 | elseif (key=="e") then | |
285 | FIRE=true | |
286 | while FIRE do | |
287 | wire(part11.Position,mouse.Hit.p,math.huge) | |
288 | wire2(part12.Position,mouse.Hit.p,math.huge) | |
289 | if mouse.Target then | |
290 | mouse.Target:breakJoints() | |
291 | if mouse.Target:getMass()<1000 then mouse.Target.Anchored=false end | |
292 | end | |
293 | wait() | |
294 | end | |
295 | beam.Parent=nil | |
296 | beam1.Parent=nil | |
297 | elseif (key=="q") then | |
298 | local target = findNearestTorso(me.Torso.Position) | |
299 | if target ~= nil then | |
300 | baned = game.Players:children() | |
301 | for x = 1, #baned do | |
302 | if baned[x].Name == peron.Name then | |
303 | head = target.Parent:findFirstChild("Humanoid") | |
304 | if head.Health ~= 0 then | |
305 | tag = Instance.new("ObjectValue") tag.Value = baned[x] tag.Name = "creator" tag.Parent = head | |
306 | Balefire(target.Position, target) Balefire1(target.Position, target) | |
307 | end | |
308 | end | |
309 | end | |
310 | end | |
311 | end | |
312 | end | |
313 | end | |
314 | ||
315 | function onSelected(mouse) | |
316 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
317 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
318 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
319 | mouse.KeyDown:connect(function(key) onKeyDown(key,mouse) end) | |
320 | mouse.KeyUp:connect(function(key) onKeyUp(key,mouse) end) | |
321 | end | |
322 | ||
323 | bin.Selected:connect(onSelected) -- LEGO | |
324 | end | |
325 | peron.CharacterAdded:connect(function() wait() chair() end) | |
326 | chair() | |
327 | ||
328 | ||
329 | ||
330 | ||
331 | ||
332 | ||
333 | local HINT=Instance.new("ScreenGui",peron.PlayerGui) | |
334 | local Text=Instance.new("Frame",HINT) | |
335 | --Instance.new("ForceField",peron.Character) | |
336 | Text.Position=UDim2.new(0.290000057, 0, 0.00999999978, 0) | |
337 | Text.Size=UDim2.new(0.45, 0, 0.0399999991, 0) | |
338 | --Text.Style="RobloxRound" | |
339 | Text.BackgroundTransparency=0.5 | |
340 | local INNER=Instance.new("TextLabel") | |
341 | INNER.Parent=Text | |
342 | INNER.Position=UDim2.new(0.5,0,0.5,0) | |
343 | INNER.TextColor3=Color3.new(1,1,1) | |
344 | while wait() do | |
345 | INNER.Text="HoverChair OS | F Speed: "..speed.." C | To Fire YAR LAZERS, press Q. | N for FF, M to call " | |
346 | Text.Parent=HINT | |
347 | INNER.Parent=Text | |
348 | HINT.Parent=peron.PlayerGui | |
349 | end | |
350 | ||
351 | --mediafire gtfo password |