SHOW:
|
|
- or go back to the newest paste.
1 | - | local p = game.Players.LocalPlayer |
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 | ||
8 | local Player = game.Players.LocalPlayer | |
9 | local char = p.Character | |
10 | local hed = char.Head | |
11 | local LocalPlayer = p | |
12 | ||
13 | local naeeym = Instance.new("BillboardGui",char) | |
14 | naeeym.Size = UDim2.new(0,100,0,40) | |
15 | naeeym.StudsOffset = Vector3.new(0,5,0) | |
16 | naeeym.Adornee = char.Head | |
17 | local tecks = Instance.new("TextLabel",naeeym) | |
18 | tecks.BackgroundTransparency = 1 | |
19 | tecks.BorderSizePixel = 0 | |
20 | tecks.Text = LocalPlayer.Name | |
21 | tecks.Font = "ArialBold" | |
22 | tecks.FontSize = "Size24" | |
23 | tecks.TextStrokeTransparency = 0 | |
24 | tecks.TextStrokeColor3 = Color3.new(0,0,0) | |
25 | tecks.TextColor3 = Color3.new(255,255,255) | |
26 | tecks.Size = UDim2.new(1,0,0.5,0) | |
27 | ||
28 | local Player = game.Players.localPlayer | |
29 | local Character = p.Character | |
30 | local LeftArm2 = Character["Left Arm"] | |
31 | local RightArm2 = Character["Right Arm"] | |
32 | local LeftLeg2 = Character["Left Leg"] | |
33 | local RightLeg2 = Character["Right Leg"] | |
34 | local Head2 = Character.Head | |
35 | local Torso2 = Character.Torso | |
36 | ||
37 | --created by SoldierJoao | |
38 | --Credits to metabee for the knives edit | |
39 | cut = Instance.new("Sound", Character) | |
40 | cut.SoundId = "https://www.roblox.com/asset/?id=97095069" | |
41 | cut.Volume = 1.5 | |
42 | thri = Instance.new("Sound", Character) | |
43 | thri.SoundId = "https://www.roblox.com/asset/?id=186311262" | |
44 | thri.Volume = 2.5 | |
45 | WRY = Instance.new("Sound", Character) | |
46 | WRY.SoundId = "https://www.roblox.com/asset/?id=276152532" | |
47 | WRY.Volume = 5 | |
48 | ||
49 | local Players=game:service'Players' | |
50 | local Player=Players.LocalPlayer | |
51 | local Mouse=Player:GetMouse'' | |
52 | local RenderStepped=game:service'RunService'.RenderStepped | |
53 | ||
54 | local MeshId='http://www.roblox.com/asset?id=202083123' | |
55 | local TextureId='http://www.roblox.com/asset/?id=189436355' | |
56 | ||
57 | local BeeSpeed= 100 | |
58 | ||
59 | local QHold=false | |
60 | local EHold=false | |
61 | ||
62 | Mouse.Button1Down:connect(function() | |
63 | cut:Play() | |
64 | if Mouse.Target then | |
65 | local Bee=Instance.new('Part',Player.Character) | |
66 | Bee.CanCollide=false | |
67 | Bee.Size=Vector3.new(2,2,2) | |
68 | Bee.CFrame=Player.Character.Torso.CFrame | |
69 | local BeeMesh=Instance.new('SpecialMesh',Bee) | |
70 | BeeMesh.MeshType='FileMesh' | |
71 | BeeMesh.MeshId=MeshId | |
72 | BeeMesh.TextureId=TextureId | |
73 | BeeMesh.Scale=Vector3.new(1,1,1) | |
74 | local BodyVel=Instance.new('BodyVelocity',Bee) | |
75 | BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
76 | local BodyGyro=Instance.new('BodyGyro',Bee) | |
77 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
78 | BodyGyro.P=2e4 | |
79 | coroutine.wrap(function() | |
80 | RenderStepped:connect(function() | |
81 | BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p) | |
82 | BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed | |
83 | end) | |
84 | end)() | |
85 | Bee.Touched:connect(function(p) | |
86 | if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then | |
87 | p.Parent:BreakJoints() | |
88 | Bee:Destroy'' | |
89 | thri:Play() | |
90 | end | |
91 | end) | |
92 | end | |
93 | end) | |
94 | ||
95 | ||
96 | Mouse.KeyDown:connect(function(k) | |
97 | local Key=k:lower'' | |
98 | if Key=='q'then | |
99 | QHold=true | |
100 | elseif Key=='e'then | |
101 | EHold=true | |
102 | end | |
103 | end) | |
104 | ||
105 | Mouse.KeyUp:connect(function(k) | |
106 | local Key=k:lower'' | |
107 | if Key=='q'then | |
108 | QHold=false | |
109 | elseif Key=='e'then | |
110 | EHold=false | |
111 | end | |
112 | end) | |
113 | ||
114 | coroutine.wrap(function() | |
115 | RenderStepped:connect(function() | |
116 | if QHold then | |
117 | if BeeSpeed>0 then | |
118 | BeeSpeed=BeeSpeed-1 | |
119 | end | |
120 | elseif EHold then | |
121 | BeeSpeed=BeeSpeed+1 | |
122 | end | |
123 | end) | |
124 | end)() | |
125 | ||
126 | ||
127 | ||
128 | ||
129 | mse = Player:GetMouse() | |
130 | ||
131 | sound = Instance.new("Sound", Character) | |
132 | sound.SoundId = "https://www.roblox.com/asset/?id=290807425" | |
133 | sound.Volume = 2.5 | |
134 | sound2 = Instance.new("Sound", Character) | |
135 | sound2.SoundId = "https://www.roblox.com/asset/?id=290810519" | |
136 | sound2.Volume = 2.5 | |
137 | sound3 = Instance.new("Sound", Character) | |
138 | sound3.SoundId = "https://www.roblox.com/asset/?id=290807377" | |
139 | sound3.Volume = 1.8 | |
140 | sound4 = Instance.new("Sound", Character) | |
141 | sound4.SoundId = "https://www.roblox.com/asset/?id=290807397" | |
142 | sound4.Volume = 2 | |
143 | TSTheme = Instance.new("Sound", Character) | |
144 | TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380" | |
145 | TSTheme.Volume = 2 | |
146 | canworld = true | |
147 | mse.KeyDown:connect(function(key) | |
148 | key = key:lower() | |
149 | if key == "t" then | |
150 | if canworld == false then return end | |
151 | if canworld then | |
152 | canworld = false | |
153 | sound3:Play() | |
154 | tecks.Text = "THE WORLD STOP TIME!" | |
155 | wait(2) | |
156 | tecks.Text = LocalPlayer.Name | |
157 | sound:Play() | |
158 | sound4:Play() | |
159 | TSTheme:Play() | |
160 | ||
161 | local function spawnpart() | |
162 | sphere = Instance.new("Part") | |
163 | --game.Debris:AddItem(sphere,3) | |
164 | local sm = Instance.new("SpecialMesh", sphere) | |
165 | sm.MeshType = "Sphere" | |
166 | sphere.Transparency = 0.5 | |
167 | sphere.Anchored = true | |
168 | sphere.CanCollide = false | |
169 | sphere.Material = "Neon" | |
170 | sphere.BrickColor = BrickColor.new("Black") | |
171 | end | |
172 | ||
173 | local function weld(lol) | |
174 | local weld = Instance.new("Weld", Player.Character.Torso) | |
175 | weld.Part0 = Player.Character.Torso | |
176 | weld.Part1 = lol | |
177 | weld.C0 = Player.Character.Torso.CFrame:inverse() | |
178 | weld.C1 = lol.CFrame:inverse() | |
179 | end | |
180 | wait() | |
181 | spawnpart() | |
182 | for i, v in pairs(game.Players:GetChildren()) do | |
183 | t = v.Character:FindFirstChild("Torso") | |
184 | if t then | |
185 | t.Anchored = true | |
186 | Player.Character:FindFirstChild("Torso").Anchored = false | |
187 | end | |
188 | RA = v.Character:FindFirstChild("Right Arm") | |
189 | if RA then | |
190 | RA.Anchored = true | |
191 | Player.Character:FindFirstChild("Right Arm").Anchored = false | |
192 | end | |
193 | LA = v.Character:FindFirstChild("Left Arm") | |
194 | if LA then | |
195 | LA.Anchored = true | |
196 | Player.Character:FindFirstChild("Left Arm").Anchored = false | |
197 | end | |
198 | RL = v.Character:FindFirstChild("Right Leg") | |
199 | if RL then | |
200 | RL.Anchored = true | |
201 | Player.Character:FindFirstChild("Right Leg").Anchored = false | |
202 | end | |
203 | LL = v.Character:FindFirstChild("Left Leg") | |
204 | if LL then | |
205 | LL.Anchored = true | |
206 | Player.Character:FindFirstChild("Left Leg").Anchored = false | |
207 | end | |
208 | end | |
209 | weld(sphere) | |
210 | cce = Instance.new("ColorCorrectionEffect", game.Lighting) | |
211 | cce.Saturation = -5 | |
212 | --game.Debris:AddItem(cce, 5) | |
213 | sphere.Parent = Character.Torso | |
214 | for i = 1,3 do | |
215 | sphere.Size = sphere.Size + Vector3.new(50,50,50) | |
216 | wait() | |
217 | end | |
218 | wait() | |
219 | sphere:Destroy() | |
220 | BeeSpeed = 0 | |
221 | cce.Saturation = -0.1 | |
222 | wait(0.3) | |
223 | cce.Saturation = -0.2 | |
224 | wait(0.3) | |
225 | cce.Saturation = -0.3 | |
226 | wait(0.2) | |
227 | cce.Saturation = -1.5 | |
228 | wait() | |
229 | end | |
230 | end | |
231 | end | |
232 | ) | |
233 | ||
234 | tecks.Text = LocalPlayer.Name | |
235 | ||
236 | mse.KeyDown:connect(function(key) | |
237 | key = key:lower() | |
238 | if key == "y" then | |
239 | canworld = true | |
240 | tecks.Text = "Time continues moving again." | |
241 | sound2:Play() | |
242 | wait() | |
243 | BeeSpeed = 1 | |
244 | cce.Saturation = -1.3 | |
245 | wait(0.5) | |
246 | BeeSpeed = 1.2 | |
247 | cce.Saturation = -0.5 | |
248 | wait(0.5) | |
249 | BeeSpeed = 1.4 | |
250 | cce.Saturation = -0.4 | |
251 | wait(0.3) | |
252 | BeeSpeed = 1.5 | |
253 | cce.Saturation = -0.2 | |
254 | wait(0.2) | |
255 | cce.Saturation = 0 | |
256 | ||
257 | for i, v in pairs(game.Players:GetChildren()) do | |
258 | t = v.Character:FindFirstChild("Torso") | |
259 | if t then | |
260 | t.Anchored = false | |
261 | end | |
262 | RA = v.Character:FindFirstChild("Right Arm") | |
263 | if RA then | |
264 | RA.Anchored = false | |
265 | end | |
266 | LA = v.Character:FindFirstChild("Left Arm") | |
267 | if LA then | |
268 | LA.Anchored = false | |
269 | end | |
270 | RL = v.Character:FindFirstChild("Right Leg") | |
271 | if RL then | |
272 | RL.Anchored = false | |
273 | end | |
274 | LL = v.Character:FindFirstChild("Left Leg") | |
275 | if LL then | |
276 | LL.Anchored = false | |
277 | end | |
278 | end | |
279 | BeeSpeed = 100 | |
280 | tecks.Text = LocalPlayer.Name | |
281 | TSTheme:Stop() | |
282 | end | |
283 | end) |