Advertisement
wamandnj

Untitled

Feb 28th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.11 KB | None | 0 0
  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");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy ~= InternalData.RealOwner then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. elseif Input.Sound then
  27. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  28. else
  29. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  30. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. --LoadLibrary("RbxUtility").Create
  80. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  81. if Library == "RbxUtility" then
  82. return setmetatable({},{
  83. __tostring = function() return "RbxUtility" end;
  84. __index = function(self, Index)
  85. if Index:lower() == "create" then
  86. return function(Type)
  87. return function(Data)
  88. Data = Data or {}
  89. local Inst = Instance.new(Type)
  90. for x,y in pairs(Data) do
  91. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  92. if y == owner then y = InternalData.RealOwner end
  93. Inst[x] = y
  94. end
  95. return Inst
  96. end
  97. end
  98. end
  99. return InternalData.LoadLibrary(Library)[Index]
  100. end
  101. })
  102. end
  103. return InternalData.LoadLibrary(Library)
  104. end
  105. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  106. __index = function (self,Index)
  107. if Index:lower() == 'new' then
  108. return function (Type, Parent)
  109. if Parent == owner then Parent = InternalData.RealOwner end
  110. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  111. local Real = InternalData.RealInstance.new(Type,Parent)
  112. if not Type then return end
  113. if Type == "BillboardGui" then
  114. local ToReturn = setmetatable({},{
  115. __index = function (self,Index)
  116. if type(Real[Index]) == "function" then
  117. if Index:lower() == "clone" then
  118. return function (self)
  119. local Real = Real:Clone()
  120. local ToReturn = setmetatable({RealObject = Real},{
  121. __index = function (self,Index)
  122. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  123. return Real[Index]
  124. end;
  125. __newindex = function (self,Index,Value)
  126. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  127. if Value == owner then Value = InternalData.RealOwner end
  128. Real[Index] = Value
  129. end;
  130. __tostring = function(self) return tostring(Real) end;
  131. })
  132. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  133. end
  134. end
  135. return function (self,...) return Real[Index](Real,...)end
  136. end
  137. return Real[Index]
  138. end;
  139. __newindex = function (self,Index,Value)
  140. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  141. if Value == owner then Value = InternalData.RealOwner end
  142. Real[Index] = Value
  143. end;
  144. __tostring = function(self) return tostring(Real) end;
  145. })
  146. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  147. elseif Type:lower() == "sound" then
  148. Real.Parent = owner.Character;
  149. local ToReturn = setmetatable({RealObject = Real},{
  150. __index = function (self,Index)
  151. if Index:lower() == "playbackloudness" then
  152. return InternalData.SoundLoudness[Real] or 0
  153. elseif type(Real[Index]) == "function" then
  154. if Index:lower() == "clone" then
  155. return function (self)
  156. local Real = Real:Clone()
  157. local ToReturn = setmetatable({},{
  158. __index = function (self,Index)
  159. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  160. return Real[Index]
  161. end;
  162. __newindex = function (self,Index,Value)
  163. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  164. if Value == owner then Value = InternalData.RealOwner end
  165. Real[Index] = Value
  166. end;
  167. __tostring = function(self) return tostring(Real) end;
  168. })
  169. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  170. end
  171. end
  172. return function (self,...) return Real[Index](Real,...)end
  173. end
  174. return Real[Index]
  175. end;
  176. __newindex = function (self,Index,Value)
  177. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  178. if Value == owner then Value = InternalData.RealOwner end
  179. Real[Index] = Value
  180. end;
  181. __tostring = function(self) return tostring(Real) end;
  182. })
  183. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  184. else
  185. local ToReturn = setmetatable({RealObject = Real},{
  186. __index = function (self,Index)
  187. if type(Real[Index]) == "function" then
  188. if Index:lower() == "clone" then
  189. return function (self)
  190. local Real = Real:Clone()
  191. local ToReturn = setmetatable({},{
  192. __index = function (self,Index)
  193. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  194. return Real[Index]
  195. end;
  196. __newindex = function (self,Index,Value)
  197. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  198. if Value == owner then Value = InternalData.RealOwner end
  199. Real[Index] = Value
  200. end;
  201. __tostring = function(self) return tostring(Real) end;
  202. })
  203. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  204. end
  205. end
  206. return function (self,...) return Real[Index](Real,...)end
  207. end
  208. return Real[Index]
  209. end;
  210. __newindex = function (self,Index,Value)
  211. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  212. if Value == owner then Value = InternalData.RealOwner end
  213. Real[Index] = Value
  214. end;
  215. __tostring = function(self) return tostring(Real) end;
  216. })
  217. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  218. end
  219. end
  220. end
  221. return InternalData.RealInstance[Index]
  222. end;
  223. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  224. });
  225. InternalData.RealGame = game;game = setmetatable({},{
  226. __index = function (self,Index)
  227. if InternalData.RealGame[Index] then
  228. local Type = type(InternalData.RealGame[Index])
  229. if Type == "function" then
  230. if Index:lower() == "getservice" or Index:lower() == "service" then
  231. return function (self,Service)
  232. local FakeServices = {
  233. ["players"] = function()
  234. return setmetatable({},{
  235. __index = function (self2,Index2)
  236. local RealService = InternalData.RealGame:GetService(Service)
  237. local Type2 = type(RealService[Index2])
  238. if Type2 == "function" then
  239. return function (self,...) return RealService[Index2](RealService,...)end
  240. else
  241. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  242. return RealService[Index2]
  243. end
  244. end;
  245. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  246. })
  247. end;
  248. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  249. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  250. ["debris"] = function()
  251. return setmetatable({},{
  252. __index = function(self2,Index2)
  253. local RealService = InternalData.RealGame:GetService(Service)
  254. local Type2 = type(RealService[Index2])
  255. if Type2 == "function" then
  256. if Index2:lower() == "additem" then
  257. return function (self,Item,Time)
  258. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  259. return RealService:AddItem(Item,Time)
  260. end
  261. end
  262. return function (self,...) return RealService[Index2](RealService,...) end
  263. end
  264. return RealService[Index2]
  265. end;
  266. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  267. })
  268. end;
  269. ["runservice"] = function()
  270. return setmetatable({},{
  271. __index = function(self2,Index2)
  272. local RealService = InternalData.RealGame:GetService(Service)
  273. local Type2 = type(RealService[Index2])
  274. if Type2 == "function" then
  275. return function (self,...) return RealService[Index2](RealService,...) end
  276. else
  277. local RunServices = {
  278. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  279. ["renderstepped"] = function() return RealService["Stepped"] end
  280. }
  281. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  282. return RealService[Index2]
  283. end
  284. end;
  285. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  286. })
  287. end
  288. }
  289. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  290. return InternalData.RealGame:GetService(Service)
  291. end
  292. end
  293. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  294. else
  295. if game:GetService(Index) then return game:GetService(Index) end
  296. return InternalData.RealGame[Index]
  297. end
  298. end
  299. return nil
  300. end;
  301. __tostring = function(self) return tostring(InternalData.game) end
  302. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  303.  
  304. function TakeDamage(hum, dmg)
  305. hum:TakeDamage(50)
  306. end
  307. plr = game.Players.LocalPlayer
  308. repeat
  309. wait(0.4)
  310. until plr.Character
  311. chr = plr.Character
  312. human = chr:FindFirstChild("Humanoid")
  313. mouse = plr:GetMouse()
  314. cam = workspace.CurrentCamera
  315. selected = false
  316. equipd = false
  317. tors = chr:WaitForChild("Torso")
  318. rarm = chr:WaitForChild("Right Arm")
  319. larm = chr:WaitForChild("Left Arm")
  320. rleg = chr:WaitForChild("Right Leg")
  321. lleg = chr:WaitForChild("Left Leg")
  322. hrp = chr:WaitForChild("HumanoidRootPart")
  323. hed = chr:WaitForChild("Head")
  324. anim = human:FindFirstChild("Animator")
  325. activu = false
  326. shootingmode = false
  327. dacae = false
  328. --local hasProductnd = game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84861999)
  329. local tagactives = {}
  330. Heartbeat = Instance.new("BindableEvent")
  331. Heartbeat.Name = "Heartbeat"
  332. Heartbeat.Parent = script
  333. frame = 0.03333333333333333
  334. tf = 0
  335. game:GetService("RunService").Heartbeat:connect(function(s, p)
  336. tf = tf + s
  337. if tf >= frame then
  338. for i = 1, math.floor(tf / frame) do
  339. Heartbeat:Fire()
  340. end
  341. tf = tf - frame * math.floor(tf / frame)
  342. end
  343. end)
  344. function swait(num)
  345. if num == 0 or num == nil then
  346. Heartbeat.Event:wait()
  347. else
  348. for i = 1, num do
  349. Heartbeat.Event:wait()
  350. end
  351. end
  352. end
  353. tool = Instance.new("Tool")
  354. tool.CanBeDropped = false
  355. tool.RequiresHandle = false
  356. tool.ToolTip = "OAOAOA"
  357. tool.Name = "Neon"
  358. tool.Parent = plr.Backpack
  359. modz = Instance.new("Model")
  360. modz.Name = "efx"
  361. modz.Parent = chr
  362. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  363. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  364. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  365. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  366. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  367. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  368. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  369. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  370. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  371. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  372. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  373. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  374. RS = tors:FindFirstChild("Right Shoulder")
  375. LS = tors:FindFirstChild("Left Shoulder")
  376. RH = tors:FindFirstChild("Right Hip")
  377. LH = tors:FindFirstChild("Left Hip")
  378. RJ = hrp:FindFirstChild("RootJoint")
  379. N = tors:FindFirstChild("Neck")
  380. cf = CFrame.new
  381. ang = CFrame.Angles
  382. rd = math.rad
  383. rd2 = math.random
  384. function lerpz(joint, prop, cfrmz, alp)
  385. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  386. end
  387. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  388. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  389. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  390. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  391. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  392. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  393. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  394. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  395. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  396. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  397. function resetlerp()
  398. RJ.C0 = RJC0
  399. RJ.C1 = RJC1
  400. N.C0 = NC0
  401. N.C1 = NC1
  402. RS.C0 = RSC0
  403. RS.C1 = RSC1
  404. LS.C0 = LSC0
  405. LS.C1 = LSC1
  406. RH.C0 = RHC0
  407. RH.C1 = RHC1
  408. LH.C0 = LHC0
  409. LH.C1 = LHC1
  410. end
  411. function neontrail(thepart, randoderpo)
  412. local ttab = {}
  413. local bopbop = Instance.new("Model")
  414. bopbop.Name = "uWOT"
  415. bopbop.Parent = modz
  416. local disabling = Instance.new("BoolValue")
  417. disabling.Value = false
  418. disabling.Name = "nani"
  419. disabling.Parent = bopbop
  420. for c = 1, 8 do
  421. local tr = Instance.new("Part")
  422. tr.Size = Vector3.new(0.2, 0.2, 0.2)
  423. tr.Anchored = true
  424. tr.CanCollide = false
  425. tr.Material = "Neon"
  426. tr.BrickColor = BrickColor.new("White")
  427. tr.CFrame = thepart.CFrame
  428. tr.Transparency = 1
  429. tr.Parent = bopbop
  430. local aa = Instance.new("CylinderMesh")
  431. aa.Parent = tr
  432. local tr2 = Instance.new("Part")
  433. tr2.Size = Vector3.new(0.2, 0.2, 0.2)
  434. tr2.Anchored = true
  435. tr2.CanCollide = false
  436. tr2.Material = "Neon"
  437. tr2.Transparency = 1
  438. tr2.BrickColor = BrickColor.new("Hot pink")
  439. tr2.CFrame = thepart.CFrame
  440. tr2.Parent = tr
  441. local aa2 = Instance.new("CylinderMesh")
  442. aa2.Parent = tr2
  443. table.insert(ttab, tr)
  444. end
  445. local function fading(derp)
  446. local derp2 = derp:FindFirstChildOfClass("Part")
  447. if thepart:FindFirstChildOfClass("BoolValue") then
  448. if thepart:FindFirstChildOfClass("BoolValue").Value == true then
  449. derp.Transparency = 0.2
  450. derp2.Transparency = 0.2
  451. elseif thepart:FindFirstChildOfClass("BoolValue").Value == false then
  452. derp.Transparency = 1
  453. derp2.Transparency = 1
  454. end
  455. else
  456. derp.Transparency = 0
  457. derp2.Transparency = 0
  458. end
  459. for _ = 1, 8 do
  460. swait()
  461. derp.Transparency = derp.Transparency + 0.1
  462. if derp:FindFirstChildOfClass("CylinderMesh") then
  463. derp:FindFirstChildOfClass("CylinderMesh").Scale = derp:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0, 0.2 * randoderpo)
  464. end
  465. derp2.Transparency = derp2.Transparency + 0.1
  466. if derp2:FindFirstChildOfClass("CylinderMesh") then
  467. derp2:FindFirstChildOfClass("CylinderMesh").Scale = derp2:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0.001, 0.2 * randoderpo)
  468. end
  469. end
  470. end
  471. local pose1 = thepart.Position
  472. coroutine.resume(coroutine.create(function()
  473. repeat
  474. if disabling.Value == true then
  475. swait()
  476. bopbop:Destroy()
  477. return
  478. end
  479. for num, tra in pairs(ttab) do
  480. do
  481. local randomiser = Vector3.new(math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo)
  482. swait(1)
  483. local pose2 = thepart.Position + randomiser
  484. local dista = (pose1 - pose2).magnitude
  485. tra.CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
  486. tra:FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(2 * randoderpo, dista / 0.2, 2 * randoderpo)
  487. tra:FindFirstChildOfClass("Part").CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
  488. tra:FindFirstChildOfClass("Part"):FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(3 * randoderpo, dista / 0.201, 3 * randoderpo)
  489. coroutine.resume(coroutine.create(function()
  490. if tra then
  491. fading(tra)
  492. end
  493. end))
  494. pose1 = pose2
  495. end
  496. end
  497. until not bopbop
  498. end))
  499. return bopbop
  500. end
  501. function nooutline(p)
  502. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  503. end
  504. function makepart(color, name, reflec, trans, mater, parnt, cfram)
  505. local port = Instance.new("Part")
  506. port.BrickColor = BrickColor.new(color)
  507. port.Name = name
  508. port.Transparency = trans
  509. nooutline(port)
  510. port.Reflectance = reflec
  511. port.Material = mater
  512. port.Anchored = false
  513. port.CanCollide = false
  514. port.Locked = true
  515. port.Size = Vector3.new(0.2, 0.2, 0.2)
  516. port.CFrame = cfram
  517. port.Parent = parnt
  518. return port
  519. end
  520. function makemesh(meshtype, scale, meshid, parent)
  521. local mes = Instance.new("SpecialMesh")
  522. mes.MeshType = meshtype
  523. mes.Scale = scale
  524. if meshtype == "FileMesh" then
  525. mes.MeshId = meshid
  526. end
  527. mes.Parent = parent
  528. return mes
  529. end
  530. function makeweld(parent, p0, p1, c0, c1)
  531. swait()
  532. local wel = Instance.new("Weld")
  533. wel.Part0 = p0
  534. wel.Part1 = p1
  535. wel.C0 = c0
  536. if c1 ~= nil then
  537. wel.C1 = c1
  538. end
  539. wel.Parent = parent
  540. return wel
  541. end
  542. function makeneon()
  543. for _, X in pairs(chr:GetChildren()) do
  544. if X.ClassName == "Accessory" then
  545. do
  546. local thehatto = X:FindFirstChildOfClass("Part")
  547. local hatmesho = thehatto:FindFirstChildOfClass("SpecialMesh")
  548. local awa = makepart("Hot pink", "glowhat", 0, 1, "Neon", thehatto, thehatto.CFrame)
  549. local awam = makemesh("FileMesh", hatmesho.Scale + Vector3.new(0.05, 0.05, 0.05), hatmesho.MeshId, awa)
  550. makeweld(awa, awa, thehatto, cf(0, 0, 0), nil)
  551. local touchbool = Instance.new("BoolValue")
  552. touchbool.Value = false
  553. touchbool.Parent = awa
  554. table.insert(tagactives, touchbool)
  555. thehatto.Touched:connect(function(asd)
  556. if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
  557. touchbool.Value = true
  558. delay(0.8, function()
  559. touchbool.Value = false
  560. end)
  561. end
  562. end)
  563. local s = Instance.new("ParticleEmitter")
  564. s.Enabled = false
  565. s.LockedToPart = true
  566. s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  567. s.LightEmission = 0.6
  568. s.Size = NumberSequence.new({
  569. NumberSequenceKeypoint.new(0, 0.5, 0),
  570. NumberSequenceKeypoint.new(0.406, 1, 0),
  571. NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
  572. NumberSequenceKeypoint.new(0.476, 0.8, 0),
  573. NumberSequenceKeypoint.new(1, 0.05, 0)
  574. })
  575. s.Texture = "rbxassetid://339880957"
  576. s.Transparency = NumberSequence.new({
  577. NumberSequenceKeypoint.new(0, 0.3, 0),
  578. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  579. NumberSequenceKeypoint.new(1, 1, 0)
  580. })
  581. s.Name = "vid"
  582. s.Lifetime = NumberRange.new(0.2)
  583. s.Rate = 5
  584. s.Speed = NumberRange.new(8, 10)
  585. s.VelocitySpread = 360
  586. s.Parent = awa
  587. local s2 = Instance.new("ParticleEmitter")
  588. s2.Enabled = false
  589. s2.LockedToPart = false
  590. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  591. s2.LightEmission = 0.6
  592. s2.Size = NumberSequence.new({
  593. NumberSequenceKeypoint.new(0, 0.1, 0),
  594. NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
  595. NumberSequenceKeypoint.new(1, 0, 0)
  596. })
  597. s2.Texture = "rbxassetid://339880957"
  598. s2.Transparency = NumberSequence.new({
  599. NumberSequenceKeypoint.new(0, 0.3, 0),
  600. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  601. NumberSequenceKeypoint.new(1, 1, 0)
  602. })
  603. s2.Name = "vid2"
  604. s2.Lifetime = NumberRange.new(0.5)
  605. s2.Rate = 10
  606. s2.Speed = NumberRange.new(2, 6)
  607. s2.VelocitySpread = 360
  608. s2.Parent = awa
  609. local awa2 = awa:Clone()
  610. awa2.BrickColor = BrickColor.new("White")
  611. awa2:FindFirstChildOfClass("SpecialMesh").Scale = awa2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.15, 0.15, 0.15)
  612. awa2.Parent = awa
  613. local fsadfs
  614. touchbool.Changed:connect(function(wot)
  615. if wot == true then
  616. awa.Transparency = 0.5
  617. awa2.Transparency = 0.5
  618. s.Enabled = true
  619. s2.Enabled = true
  620. fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", thehatto)
  621. elseif wot == false then
  622. awa.Transparency = 1
  623. awa2.Transparency = 1
  624. s.Enabled = false
  625. s2.Enabled = false
  626. fsadfs:Destroy()
  627. end
  628. end)
  629. end
  630. elseif X.ClassName == "Part" and X ~= hrp then
  631. do
  632. local ha = makepart("Hot pink", "gglowiey", 0, 1, "Neon", X, X.CFrame)
  633. local ham
  634. if X == tors then
  635. ham = makemesh("Brick", Vector3.new(10.5, 10.5, 5.25), nil, ha)
  636. elseif X == hed then
  637. ham = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, ha)
  638. else
  639. ham = makemesh("Brick", Vector3.new(5.25, 10.125, 5.25), nil, ha)
  640. end
  641. makeweld(ha, ha, X, cf(0, 0, 0), nil)
  642. local touchbool = Instance.new("BoolValue")
  643. touchbool.Value = false
  644. touchbool.Parent = ha
  645. table.insert(tagactives, touchbool)
  646. X.Touched:connect(function(asd)
  647. if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
  648. touchbool.Value = true
  649. delay(0.8, function()
  650. touchbool.Value = false
  651. end)
  652. end
  653. end)
  654. local lit = Instance.new("PointLight")
  655. lit.Enabled = false
  656. lit.Brightness = 2
  657. lit.Range = 6
  658. lit.Shadows = true
  659. lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
  660. lit.Parent = ha
  661. local s = Instance.new("ParticleEmitter")
  662. s.Enabled = false
  663. s.LockedToPart = true
  664. s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  665. s.LightEmission = 0.6
  666. s.Size = NumberSequence.new({
  667. NumberSequenceKeypoint.new(0, 0.5, 0),
  668. NumberSequenceKeypoint.new(0.406, 1, 0),
  669. NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
  670. NumberSequenceKeypoint.new(0.476, 0.8, 0),
  671. NumberSequenceKeypoint.new(1, 0.05, 0)
  672. })
  673. s.Texture = "rbxassetid://339880957"
  674. s.Transparency = NumberSequence.new({
  675. NumberSequenceKeypoint.new(0, 0.3, 0),
  676. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  677. NumberSequenceKeypoint.new(1, 1, 0)
  678. })
  679. s.Name = "vid"
  680. s.Lifetime = NumberRange.new(0.2)
  681. s.Rate = 5
  682. s.Speed = NumberRange.new(7, 10)
  683. s.VelocitySpread = 360
  684. s.Parent = ha
  685. local s2 = Instance.new("ParticleEmitter")
  686. s2.Enabled = false
  687. s2.LockedToPart = false
  688. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  689. s2.LightEmission = 0.6
  690. s2.Size = NumberSequence.new({
  691. NumberSequenceKeypoint.new(0, 0.1, 0),
  692. NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
  693. NumberSequenceKeypoint.new(1, 0, 0)
  694. })
  695. s2.Texture = "rbxassetid://339880957"
  696. s2.Transparency = NumberSequence.new({
  697. NumberSequenceKeypoint.new(0, 0.3, 0),
  698. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  699. NumberSequenceKeypoint.new(1, 1, 0)
  700. })
  701. s2.Name = "vid2"
  702. s2.Lifetime = NumberRange.new(0.5)
  703. s2.Rate = 10
  704. s2.Speed = NumberRange.new(2, 6)
  705. s2.VelocitySpread = 360
  706. s2.Parent = ha
  707. local ha2 = ha:Clone()
  708. ha2.BrickColor = BrickColor.new("White")
  709. ha2:FindFirstChildOfClass("SpecialMesh").Scale = ha2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.75, 0.75, 0.75)
  710. ha2.Parent = ha
  711. local fsadfs
  712. touchbool.Changed:connect(function(wot)
  713. if wot == true then
  714. ha.Transparency = 0.5
  715. ha2.Transparency = 0.5
  716. s.Enabled = true
  717. s2.Enabled = true
  718. lit.Enabled = true
  719. fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", X)
  720. elseif wot == false then
  721. ha.Transparency = 1
  722. ha2.Transparency = 1
  723. s.Enabled = false
  724. s2.Enabled = false
  725. lit.Enabled = false
  726. fsadfs:Destroy()
  727. end
  728. end)
  729. neontrail(ha, 1)
  730. end
  731. end
  732. end
  733. end
  734. makeneon()
  735. function gotagofast()
  736. if activu == true or selected == false or dacae == true then
  737. return
  738. end
  739. activu = true
  740. local ws, jp = human.WalkSpeed, human.JumpPower
  741. human.WalkSpeed = 100
  742. human.JumpPower = 360
  743. local bfor = Instance.new("BodyVelocity")
  744. bfor.MaxForce = Vector3.new(10, 10, 10)
  745. bfor.P = 0
  746. bfor.Velocity = Vector3.new(0, 0, 0)
  747. bfor.Parent = hrp
  748. local bubbl1 = makepart("White", "bb1", 0, 0.7, "Neon", tors, tors.CFrame)
  749. local bb1m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl1)
  750. local bb1w = makeweld(bubbl1, bubbl1, tors, cf(0, 0, 0), c1)
  751. local bubbl2 = makepart("Hot pink", "bb2", 0, 0.7, "Neon", tors, tors.CFrame)
  752. local bb2m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl2)
  753. local bb2w = makeweld(bubbl2, bubbl2, tors, cf(0, 0, 0), c1)
  754. for _, d in pairs(tagactives) do
  755. swait()
  756. d.Value = true
  757. end
  758. for _ = 1, 60 do
  759. swait()
  760. bb1m.Scale = bb1m.Scale:lerp(Vector3.new(30, 30, 30), 0.2)
  761. bb2m.Scale = bb2m.Scale:lerp(Vector3.new(40, 40, 40), 0.2)
  762. local rayc = Ray.new(hrp.Position, hrp.CFrame.lookVector * 3)
  763. local par, pos = workspace:FindPartOnRayWithIgnoreList(rayc, {chr}, true, true)
  764. if par and 1 > par.Transparency then
  765. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-90), rd(0), rd(0)), 0.3)
  766. bfor.MaxForce = Vector3.new(0, 1000000000000000000, 0)
  767. bfor.P = 999999999
  768. bfor.Velocity = Vector3.new(0, 70, 0)
  769. else
  770. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  771. bfor.MaxForce = Vector3.new(0, 0, 0)
  772. bfor.P = 0
  773. bfor.Velocity = Vector3.new(0, 0, 0)
  774. end
  775. end
  776. for _, d in pairs(tagactives) do
  777. swait()
  778. d.Value = false
  779. end
  780. human.WalkSpeed = ws
  781. human.JumpPower = jp
  782. bfor.MaxForce = Vector3.new(0, 0, 0)
  783. bfor.P = 0
  784. bfor.Velocity = Vector3.new(0, 0, 0)
  785. for _ = 1, 10 do
  786. swait()
  787. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  788. bb1m.Scale = bb1m.Scale:lerp(Vector3.new(50, 50, 50), 0.2)
  789. bb2m.Scale = bb2m.Scale:lerp(Vector3.new(60, 60, 60), 0.2)
  790. bubbl1.Transparency = bubbl1.Transparency + 0.05
  791. bubbl2.Transparency = bubbl2.Transparency + 0.05
  792. end
  793. resetlerp()
  794. bfor:Destroy()
  795. bubbl1:Destroy()
  796. bubbl2:Destroy()
  797. if plr.UserId ~= 8488617 then
  798. dacae = true
  799. end
  800. coroutine.resume(coroutine.create(function()
  801. wait(7)
  802. dacae = false
  803. end))
  804. activu = false
  805. end
  806. local ignoraappawpas = {chr}
  807. function pew(pewpartthing, wheritgoto)
  808. local pr = makepart("White", "pewpw", 0, 0.1, "Neon", workspace, CFrame.new(pewpartthing.Position, wheritgoto))
  809. game.Debris:AddItem(pr, 15)
  810. pr.Anchored = true
  811. local prm = makemesh("Sphere", Vector3.new(5, 5, 10), nil, pr)
  812. local tr = neontrail(pr, 1.25)
  813. table.insert(ignoraappawpas, pr)
  814. table.insert(ignoraappawpas, tr)
  815. local howfar = 0
  816. local lit = Instance.new("PointLight")
  817. lit.Enabled = false
  818. lit.Brightness = 2
  819. lit.Range = 6
  820. lit.Shadows = true
  821. lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
  822. lit.Parent = pr
  823. coroutine.resume(coroutine.create(function()
  824. repeat
  825. swait()
  826. howfar = howfar + 1
  827. local pray = Ray.new(pr.Position, pr.CFrame.lookVector * 31)
  828. local noot, wher = workspace:FindPartOnRayWithIgnoreList(pray, ignoraappawpas, true, true)
  829. if noot and wher then
  830. howfar = 420
  831. local uwotmate = pr.CFrame.lookVector
  832. pr.CFrame = CFrame.new(wher)
  833. local aaoeaoaodad = rd2(1, 6)
  834. if aaoeaoaodad == 3 then
  835. hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25, Vector3.new(rd2(-5, 5), rd2(-5, 5), rd2(-5, 5)))
  836. else
  837. hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25)
  838. end
  839. else
  840. pr.CFrame = pr.CFrame * cf(0, 0, -30)
  841. end
  842. until howfar > 100 or not pr
  843. game.Debris:AddItem(pr, 0.1)
  844. wait()
  845. tr:FindFirstChild("nani").Value = true
  846. end))
  847. end
  848. local succccccccccc = false
  849. local soupme = false
  850. local thedrawings = {}
  851. local lazersound = Instance.new("Sound")
  852. lazersound.SoundId = "rbxassetid://115327352"
  853. lazersound.Looped = true
  854. lazersound.Parent = hrp
  855. function drawingu(wheritpewing)
  856. if activu == true or selected == false or #thedrawings > 50 then
  857. return
  858. end
  859. succccccccccc = true
  860. activu = true
  861. lazersound:Play()
  862. soupme = mouse.KeyUp:connect(function(DDDDDD)
  863. if DDDDDD == "t" then
  864. succccccccccc = false
  865. end
  866. end)
  867. local iwin = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
  868. iwin.Anchored = true
  869. local iwm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, iwin)
  870. local iwin2 = makepart("Hot pink", "thedrawingu2", 0, 0.6, "Neon", iwin, hrp.CFrame)
  871. iwin2.Anchored = true
  872. local iwm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, iwin2)
  873. local mosoposo = mouse.Hit.p
  874. local pewpew = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
  875. pewpew.Anchored = true
  876. local pewm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, pewpew)
  877. local pewpew2 = makepart("Hot pink", "thedrawingu", 0, 0.6, "Neon", pewpew, hrp.CFrame)
  878. pewpew2.Anchored = true
  879. local pewm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, pewpew2)
  880. table.insert(thedrawings, iwin)
  881. local partemitderpo = makepart("White", "watever", 0, 1, "Neon", modz, hrp.CFrame)
  882. partemitderpo.Anchored = true
  883. local s2 = Instance.new("ParticleEmitter")
  884. s2.Enabled = true
  885. s2.LockedToPart = false
  886. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  887. s2.LightEmission = 0.7
  888. s2.Size = NumberSequence.new({
  889. NumberSequenceKeypoint.new(0, 0.4, 0),
  890. NumberSequenceKeypoint.new(0.853, 0.2, 0.1),
  891. NumberSequenceKeypoint.new(1, 0, 0)
  892. })
  893. s2.Texture = "rbxassetid://339880957"
  894. s2.Transparency = NumberSequence.new({
  895. NumberSequenceKeypoint.new(0, 0.2, 0),
  896. NumberSequenceKeypoint.new(0.89, 0.2, 0),
  897. NumberSequenceKeypoint.new(1, 1, 0)
  898. })
  899. s2.Name = "vid2"
  900. s2.Lifetime = NumberRange.new(0.1, 0.2)
  901. s2.Rate = 0
  902. s2.Acceleration = Vector3.new(0, 5, 0)
  903. s2.Speed = NumberRange.new(10, 18)
  904. s2.VelocitySpread = 360
  905. s2.Parent = partemitderpo
  906. local uwotmate = wheritpewing
  907. local function pulso()
  908. coroutine.resume(coroutine.create(function()
  909. while iwin do
  910. local val1 = iwm.Scale
  911. local val2 = iwm2.Scale
  912. local tr1 = iwin.Transparency
  913. local tr2 = iwin2.Transparency
  914. for _ = 1, 5 do
  915. wait()
  916. iwm.Scale = iwm.Scale:lerp(val1 + Vector3.new(0, 0.2, 0.2), 0.1)
  917. iwm2.Scale = iwm2.Scale:lerp(val2 + Vector3.new(0, 0.2, 0.2), 0.1)
  918. iwin.Transparency = iwin.Transparency + 0.05
  919. iwin2.Transparency = iwin2.Transparency + 0.05
  920. end
  921. for _ = 1, 5 do
  922. wait()
  923. iwm.Scale = iwm.Scale:lerp(val1, 0.3)
  924. iwm2.Scale = iwm2.Scale:lerp(val2, 0.3)
  925. iwin.Transparency = iwin.Transparency - 0.05
  926. iwin2.Transparency = iwin2.Transparency - 0.05
  927. end
  928. iwm.Scale = val1
  929. iwm2.Scale = val2
  930. end
  931. end))
  932. end
  933. while succccccccccc == true do
  934. local mgn = (mosoposo - mouse.Hit.p).magnitude
  935. iwm.Scale = Vector3.new(mgn * 5, 1, 1)
  936. iwin.CFrame = CFrame.new(mosoposo, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn / 2, 0, 0)
  937. iwm2.Scale = Vector3.new(mgn * 5 + 0.025, 2, 2)
  938. iwin2.CFrame = iwin.CFrame
  939. local mgn2 = (wheritpewing.Position - mouse.Hit.p).magnitude
  940. pewm.Scale = Vector3.new(mgn2 * 5, 1, 1)
  941. pewpew.CFrame = CFrame.new(wheritpewing.Position, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn2 / 2, 0, 0)
  942. pewm2.Scale = Vector3.new(mgn2 * 5, 2, 2)
  943. pewpew2.CFrame = pewpew.CFrame
  944. partemitderpo.CFrame = CFrame.new(mouse.Hit.p)
  945. s2:Emit(4)
  946. if mgn > 1 then
  947. activu = false
  948. succccccccccc = false
  949. soupme:Disconnect()
  950. pewpew:Destroy()
  951. game.Debris:AddItem(partemitderpo, 0.8)
  952. pulso()
  953. drawingu(uwotmate)
  954. break
  955. end
  956. swait()
  957. end
  958. if pewpew then
  959. pewpew:Destroy()
  960. end
  961. if partemitderpo then
  962. game.Debris:AddItem(partemitderpo, 0.8)
  963. end
  964. lazersound:Stop()
  965. succccccccccc = false
  966. activu = false
  967. end
  968. local qshootdebounce = false
  969. local shotderp, draahw, bep, hhuurrr
  970. function qshoot()
  971. if activu == true or selected == false then
  972. return
  973. end
  974. if shootingmode == false then
  975. shootingmode = true
  976. bep = makepart("Hot pink", "bepis", 0, 1, "Neon", modz, rarm.CFrame)
  977. do
  978. local bepw = makeweld(bep, bep, rarm, cf(0, 1, 0), nil)
  979. hhuurrr = neontrail(bep, 0.5)
  980. local ss = Instance.new("Sound")
  981. ss.Volume = 0.5
  982. ss.SoundId = "rbxassetid://476938662"
  983. ss.Parent = bep
  984. local s2 = Instance.new("ParticleEmitter")
  985. s2.Enabled = true
  986. s2.LockedToPart = false
  987. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  988. s2.LightEmission = 0.7
  989. s2.Size = NumberSequence.new({
  990. NumberSequenceKeypoint.new(0, 1, 0),
  991. NumberSequenceKeypoint.new(0.853, 0.5, 0.1),
  992. NumberSequenceKeypoint.new(1, 0, 0)
  993. })
  994. s2.Texture = "rbxassetid://339880957"
  995. s2.Transparency = NumberSequence.new({
  996. NumberSequenceKeypoint.new(0, 0.2, 0),
  997. NumberSequenceKeypoint.new(0.89, 0.2, 0),
  998. NumberSequenceKeypoint.new(1, 1, 0)
  999. })
  1000. s2.Name = "vid2"
  1001. s2.Lifetime = NumberRange.new(0.1, 0.4)
  1002. s2.Rate = 0
  1003. s2.Acceleration = Vector3.new(0, 2, 0)
  1004. s2.Speed = NumberRange.new(12, 22)
  1005. s2.VelocitySpread = 360
  1006. s2.Parent = bep
  1007. coroutine.resume(coroutine.create(function()
  1008. repeat
  1009. swait()
  1010. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.25)
  1011. until shootingmode == false
  1012. end))
  1013. shotderp = tool.Activated:connect(function()
  1014. if qshootdebounce == true then
  1015. return
  1016. end
  1017. ss:Play()
  1018. s2:Emit(12)
  1019. lerpz(RS, "C0", RSC0 * cf(rd2(-5, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 120))), 0.8)
  1020. qshootdebounce = true
  1021. pew(bep, mouse.Hit.p + Vector3.new(rd2(-15, 15) / 10, rd2(-15, 15) / 10, 0))
  1022. delay(1, function()
  1023. qshootdebounce = false
  1024. end)
  1025. end)
  1026. draahw = mouse.KeyDown:connect(function(dsadadsa)
  1027. if dsadadsa == "t" then--and (plr.UserId == 8488617 or hasProductnd) then
  1028. drawingu(bep)
  1029. end
  1030. end)
  1031. end
  1032. elseif shootingmode == true then
  1033. shootingmode = false
  1034. activu = true
  1035. if bep then
  1036. bep:Destroy()
  1037. end
  1038. if hhuurrr then
  1039. hhuurrr:FindFirstChild("nani").Value = true
  1040. end
  1041. shotderp:Disconnect()
  1042. draahw:Disconnect()
  1043. for _ = 1, 8 do
  1044. swait()
  1045. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1046. end
  1047. resetlerp()
  1048. activu = false
  1049. end
  1050. end
  1051. function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  1052. for _, guy in pairs(workspace:GetChildren()) do
  1053. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1054. do
  1055. local humz = guy:FindFirstChild("Humanoid")
  1056. local horp = guy:FindFirstChild("HumanoidRootPart")
  1057. TakeDamage(humz, dmg)
  1058. humz:SetStateEnabled(16, true)
  1059. delay(debtim, function()
  1060. humz:SetStateEnabled(16, true)
  1061. end)
  1062. local db = Instance.new("StringValue")
  1063. db.Name = "alabo"
  1064. db.Parent = horp
  1065. delay(debtim, function()
  1066. db:Destroy()
  1067. end)
  1068. local b = Instance.new("Part")
  1069. nooutline(b)
  1070. b.Size = Vector3.new(0.2, 0.2, 0.2)
  1071. b.Transparency = 0.25
  1072. b.Anchored = true
  1073. b.CanCollide = false
  1074. b.BrickColor = BrickColor.new("Hot pink")
  1075. b.Material = "Neon"
  1076. b.Locked = true
  1077. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  1078. b.Parent = modz
  1079. local c = Instance.new("SpecialMesh")
  1080. c.MeshType = "Sphere"
  1081. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1082. c.Parent = b
  1083. game.Debris:AddItem(b, 1)
  1084. local damageind = Instance.new("Model")
  1085. damageind.Name = dmg
  1086. damageind.Parent = workspace
  1087. game.Debris:AddItem(damageind, 1 + dmg / 75)
  1088. local awawaa = Instance.new("Humanoid")
  1089. awawaa.MaxHealth = 0
  1090. awawaa.Parent = damageind
  1091. local dhed = Instance.new("Part")
  1092. dhed.Name = "Head"
  1093. dhed.Locked = true
  1094. dhed.Size = Vector3.new(0.2, 0.2, 0.2)
  1095. dhed.Position = horp.Position
  1096. dhed.BrickColor = BrickColor.new("Hot pink")
  1097. dhed.Material = "Neon"
  1098. dhed.CanCollide = false
  1099. dhed.Parent = damageind
  1100. local flo = Instance.new("BodyPosition")
  1101. flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1102. flo.P = 20000
  1103. flo.D = 300
  1104. flo.Position = dhed.Position + Vector3.new(0, 5, 0)
  1105. flo.Parent = dhed
  1106. local dasdada = Instance.new("CylinderMesh")
  1107. dasdada.Parent = dhed
  1108. coroutine.resume(coroutine.create(function()
  1109. while dasdada do
  1110. swait()
  1111. dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4)
  1112. end
  1113. end))
  1114. if bodyfdire then
  1115. local boopyve = Instance.new("BodyVelocity")
  1116. boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  1117. boopyve.P = 9999999999
  1118. boopyve.Velocity = bodyfdire
  1119. boopyve.Parent = horp
  1120. game.Debris:AddItem(boopyve, debtim)
  1121. end
  1122. if bodyrot then
  1123. local boopyro = Instance.new("BodyAngularVelocity")
  1124. boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  1125. boopyro.P = math.huge
  1126. boopyro.AngularVelocity = bodyrot
  1127. boopyro.Parent = horp
  1128. game.Debris:AddItem(boopyro, debtim)
  1129. end
  1130. local bet = Instance.new("Sound")
  1131. bet.Pitch = rd2(9, 11) / 10
  1132. bet.Volume = rd2(12, 14) / 10
  1133. bet.SoundId = "rbxassetid://305526724"
  1134. bet.Parent = b
  1135. coroutine.resume(coroutine.create(function()
  1136. for _ = 1, 5 do
  1137. swait()
  1138. b.Transparency = b.Transparency + 0.175
  1139. c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  1140. end
  1141. end))
  1142. end
  1143. end
  1144. end
  1145. end
  1146. function animo(yep)
  1147. if yep == true then
  1148. anim.Parent = human
  1149. chr.Animate.Disabled = false
  1150. elseif yep == false then
  1151. chr.Animate.Disabled = true
  1152. anim.Parent = nil
  1153. end
  1154. end
  1155. local down = false
  1156. mouse.KeyDown:connect(function(key)
  1157. down = true
  1158. if key == "f" then
  1159. gotagofast()
  1160. end
  1161. if key == "q" then
  1162. qshoot()
  1163. end
  1164. if key == "z" then
  1165. while down do
  1166. swait(1)
  1167. if #thedrawings > 0 then
  1168. thedrawings[#thedrawings]:Destroy()
  1169. table.remove(thedrawings, #thedrawings)
  1170. end
  1171. end
  1172. end
  1173. end)
  1174. mouse.KeyUp:connect(function(key)
  1175. down = false
  1176. end)
  1177. tool.Equipped:connect(function()
  1178. selected = true
  1179. end)
  1180. tool.Unequipped:connect(function()
  1181. selected = false
  1182. end)
  1183. function dispose()
  1184. for i, v in pairs(getfenv(0)) do
  1185. v = nil
  1186. end
  1187. error = nil
  1188. print = nil
  1189. warn = nil
  1190. end
  1191. human.Died:connect(dispose)
  1192. chr.Changed:connect(function()
  1193. if chr.Parent == nil then
  1194. dispose()
  1195. end
  1196. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement