Advertisement
FabianRBLX

Icegear FE Admin

Nov 15th, 2020
1,964
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.48 KB | None | 1 0
  1. --/ This admin IS skidded from Overflow v1 that got leaked Credits go to them: Synttax, dhruvil, ANN0B1S
  2. --/ If you plan to make a admin using these commands please credit the original creators.
  3.  
  4. repeat
  5. wait()
  6. until game:GetService("Players").LocalPlayer ~= nil
  7.  
  8. if not game:GetService("Players").LocalPlayer.Character then
  9. game:GetService("Players").LocalPlayer.CharacterAdded:Wait()
  10. end
  11.  
  12. --/ Variables
  13.  
  14. local LocalPlayer = game:GetService("Players").LocalPlayer
  15. local Character = LocalPlayer.Character
  16. local Workspace = game:GetService("Workspace")
  17. local CoreGui = game:GetService("CoreGui")
  18.  
  19. local IceGear = {
  20. Cmds = {},
  21. Events = {},
  22. Debounces = {CmdCooldown = false},
  23. CommandKey = "Comma", -- what to open the commandbar with (check out: https://developer.roblox.com/en-us/api-reference/enum/KeyCode)
  24. Prefix = ";", -- need to use prefix in default chat, can also be used in commandbar but isn't necessary
  25. }
  26.  
  27. local Settings = {
  28. Prefix = ";",
  29. Version = "1.0.0"
  30. }
  31.  
  32. for i, v in pairs(game:GetService("CoreGui"):GetChildren()) do
  33. if v.Name == "IceGear_AdminGui" then
  34. v:Destroy()
  35. end
  36. end
  37.  
  38. for i, v in pairs(game:GetService("Lighting"):GetChildren()) do
  39. if v.Name == "BlueColorCorrection" or v.Name == "CmdBlurEffect" then
  40. v:Destroy()
  41. end
  42. end
  43.  
  44. --/ Main Gui Creation 'n it's properties
  45.  
  46. local IceGear_AdminGui = Instance.new("ScreenGui")
  47. local Intro = Instance.new("Folder")
  48. local LeftFrameThing = Instance.new("Frame")
  49. local LoadingFrame = Instance.new("Frame")
  50. local LoadingThing = Instance.new("Frame")
  51. local RightFrameThing = Instance.new("Frame")
  52. local LoadingFrame_2 = Instance.new("Frame")
  53. local LoadingThing_2 = Instance.new("Frame")
  54. local MainLogo = Instance.new("ImageLabel")
  55. local MainLogo2 = Instance.new("ImageLabel")
  56. local MiddleLogoThing = Instance.new("ImageLabel")
  57. local AdminNameLabel = Instance.new("TextLabel")
  58. local BlueColorCorrection = Instance.new("ColorCorrectionEffect")
  59.  
  60. local ExampleLabel = Instance.new("TextLabel")
  61. local CmdList = Instance.new("ScrollingFrame")
  62. local CmdListUIListLayout = Instance.new("UIListLayout")
  63. local CmdBarFrame = Instance.new("Frame")
  64. local CmdBarDesign = Instance.new("ImageLabel")
  65. local CmdBar = Instance.new("TextBox")
  66. local NotificationFrame = Instance.new("TextLabel")
  67. local CmdBlurEffect = Instance.new("BlurEffect")
  68.  
  69. local Main = Instance.new("Folder")
  70.  
  71.  
  72. IceGear_AdminGui.Name = "IceGear_AdminGui"
  73. IceGear_AdminGui.Parent = game:GetService("CoreGui")
  74.  
  75. Intro.Name = "Intro"
  76. Intro.Parent = IceGear_AdminGui
  77.  
  78. LeftFrameThing.Name = "LeftFrameThing"
  79. LeftFrameThing.Parent = Intro
  80. LeftFrameThing.AnchorPoint = Vector2.new(1, 0.5)
  81. LeftFrameThing.BackgroundColor3 = Color3.fromRGB(69, 70, 72)
  82. LeftFrameThing.LayoutOrder = 0
  83. LeftFrameThing.Position = UDim2.new(-0.00100000005, 0, 0.5, 0)
  84. LeftFrameThing.Size = UDim2.new(0.5, 0, 0.25, 0)
  85.  
  86. RightFrameThing.Name = "RightFrameThing"
  87. RightFrameThing.Parent = Intro
  88. RightFrameThing.AnchorPoint = Vector2.new(0, 0.5)
  89. RightFrameThing.BackgroundColor3 = Color3.fromRGB(69, 70, 72)
  90. RightFrameThing.LayoutOrder = 0
  91. RightFrameThing.Position = UDim2.new(1.00100005, 0, 0.5, 0)
  92. RightFrameThing.Size = UDim2.new(0.5, 0, 0.25, 0)
  93.  
  94. LoadingFrame.Name = "LoadingFrame"
  95. LoadingFrame.Parent = LeftFrameThing
  96. LoadingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  97. LoadingFrame.BackgroundColor3 = Color3.fromRGB(62, 63, 65)
  98. LoadingFrame.LayoutOrder = 1
  99. LoadingFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  100. LoadingFrame.Size = UDim2.new(0.100000001, 0, 0.850000024, 0)
  101.  
  102. LoadingThing.Name = "LoadingThing"
  103. LoadingThing.Parent = LoadingFrame
  104. LoadingThing.AnchorPoint = Vector2.new(0.5, 1)
  105. LoadingThing.BackgroundColor3 = Color3.fromRGB(89, 130, 82)
  106. LoadingThing.BorderSizePixel = 0
  107. LoadingThing.LayoutOrder = 1
  108. LoadingThing.Position = UDim2.new(0.5, 0, 1, 0)
  109. LoadingThing.Size = UDim2.new(1, 0, 0, 0)
  110.  
  111. LoadingFrame_2.Name = "LoadingFrame"
  112. LoadingFrame_2.Parent = RightFrameThing
  113. LoadingFrame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  114. LoadingFrame_2.BackgroundColor3 = Color3.fromRGB(62, 63, 65)
  115. LoadingFrame_2.LayoutOrder = 1
  116. LoadingFrame_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  117. LoadingFrame_2.Size = UDim2.new(0.100000001, 0, 0.850000024, 0)
  118.  
  119. LoadingThing_2.Name = "LoadingThing"
  120. LoadingThing_2.Parent = LoadingFrame_2
  121. LoadingThing_2.AnchorPoint = Vector2.new(0.5, 1)
  122. LoadingThing_2.BackgroundColor3 = Color3.fromRGB(89, 130, 82)
  123. LoadingThing_2.BorderSizePixel = 0
  124. LoadingThing_2.LayoutOrder = 1
  125. LoadingThing_2.Position = UDim2.new(0.5, 0, 1, 0)
  126. LoadingThing_2.Size = UDim2.new(1, 0, 0, 0)
  127.  
  128. MiddleLogoThing.Name = "MiddleLogoThing"
  129. MiddleLogoThing.Parent = Intro
  130. MiddleLogoThing.AnchorPoint = Vector2.new(0.5, 0.5)
  131. MiddleLogoThing.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  132. MiddleLogoThing.BackgroundTransparency = 1.000
  133. MiddleLogoThing.LayoutOrder = 1
  134. MiddleLogoThing.Position = UDim2.new(0.5, 0, 0.5, 0)
  135. MiddleLogoThing.Size = UDim2.new(0.126000002, 0, 0.224999994, 0)
  136. MiddleLogoThing.Visible = false
  137. MiddleLogoThing.Image = "rbxassetid://3570695787"
  138. MiddleLogoThing.ImageColor3 = Color3.fromRGB(53, 53, 53)
  139. MiddleLogoThing.ImageTransparency = 1.000
  140. MiddleLogoThing.ScaleType = Enum.ScaleType.Fit
  141. MiddleLogoThing.SliceCenter = Rect.new(100, 100, 100, 100)
  142. MiddleLogoThing.SliceScale = 0.120
  143.  
  144. MainLogo.Name = "MainLogo"
  145. MainLogo.Parent = Intro
  146. MainLogo.AnchorPoint = Vector2.new(0.5, 0.5)
  147. MainLogo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  148. MainLogo.BackgroundTransparency = 1.000
  149. MainLogo.LayoutOrder = 2
  150. MainLogo.Position = UDim2.new(0.5, 0, 0.5, 0)
  151. MainLogo.Size = UDim2.new(0.126000002, 0, 0.224999994, 0)
  152. MainLogo.Visible = false
  153. MainLogo.Image = "http://www.roblox.com/asset/?id=5280464374"
  154. MainLogo.ImageColor3 = Color3.fromRGB(0, 0, 0)
  155. MainLogo.ImageTransparency = 1.000
  156. MainLogo.ScaleType = Enum.ScaleType.Fit
  157. MainLogo.SliceCenter = Rect.new(100, 100, 100, 100)
  158. MainLogo.SliceScale = 0.120
  159.  
  160. MainLogo2.Name = "MainLogo2"
  161. MainLogo2.Parent = MainLogo
  162. MainLogo2.AnchorPoint = Vector2.new(0.5, 0.5)
  163. MainLogo2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  164. MainLogo2.BackgroundTransparency = 1.000
  165. MainLogo2.LayoutOrder = 4
  166. MainLogo2.Position = UDim2.new(0.5, 0, 0.5, 0)
  167. MainLogo2.Size = UDim2.new(0.99000001, 0, 0.99000001, 0)
  168. MainLogo2.Image = "http://www.roblox.com/asset/?id=5280464374"
  169. MainLogo2.ImageColor3 = Color3.fromRGB(89, 85, 73)
  170. MainLogo2.ImageTransparency = 1.000
  171. MainLogo2.ScaleType = Enum.ScaleType.Fit
  172. MainLogo2.SliceCenter = Rect.new(100, 100, 100, 100)
  173. MainLogo2.SliceScale = 0.120
  174.  
  175. AdminNameLabel.Name = "AdminNameLabel"
  176. AdminNameLabel.Parent = Intro
  177. AdminNameLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  178. AdminNameLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  179. AdminNameLabel.BackgroundTransparency = 1.000
  180. AdminNameLabel.BorderSizePixel = 0
  181. AdminNameLabel.Position = UDim2.new(0.5, 0, 0.725000024, 0)
  182. AdminNameLabel.Size = UDim2.new(0.600000024, 0, 0.075000003, 0)
  183. AdminNameLabel.Visible = false
  184. AdminNameLabel.Font = Enum.Font.SourceSans
  185. AdminNameLabel.Text = ""
  186. AdminNameLabel.TextColor3 = Color3.fromRGB(200, 197, 166)
  187. AdminNameLabel.TextScaled = true
  188. AdminNameLabel.TextSize = 14.000
  189. AdminNameLabel.TextStrokeTransparency = 0.800
  190. AdminNameLabel.TextWrapped = true
  191.  
  192. BlueColorCorrection.Name = "BlueColorCorrection"
  193. BlueColorCorrection.Parent = game:GetService("Lighting")
  194. BlueColorCorrection.Brightness = 0
  195. BlueColorCorrection.Contrast = 0
  196. BlueColorCorrection.Enabled = true
  197. BlueColorCorrection.Saturation = 0
  198. BlueColorCorrection.TintColor = Color3.fromRGB(255, 255, 255)
  199.  
  200. Main.Name = "Main"
  201. Main.Parent = IceGear_AdminGui
  202.  
  203. CmdList.Name = "-CmdList"
  204. CmdList.Parent = Main
  205. CmdList.Active = true
  206. CmdList.Visible = false
  207. CmdList.AnchorPoint = Vector2.new(0.5, 0)
  208. CmdList.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  209. CmdList.BackgroundTransparency = 1.000
  210. CmdList.BorderSizePixel = 0
  211. CmdList.Position = UDim2.new(0.5, 0, 0.574999988, 0)
  212. CmdList.Size = UDim2.new(0.200000003, 0, 0.300000012, 0)
  213. CmdList.CanvasSize = UDim2.new(0, 0, 0, 0)
  214.  
  215. ExampleLabel.Name = "ExampleLabel"
  216. ExampleLabel.Parent = CmdList
  217. ExampleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  218. ExampleLabel.BackgroundTransparency = 1.000
  219. ExampleLabel.BorderSizePixel = 0
  220. ExampleLabel.Size = UDim2.new(1, 0, 0.174999997, 0)
  221. ExampleLabel.Visible = false
  222. ExampleLabel.Font = Enum.Font.SourceSans
  223. ExampleLabel.TextColor3 = Color3.fromRGB(222, 222, 222)
  224. ExampleLabel.TextSize = 14.000
  225. ExampleLabel.TextStrokeTransparency = 1 -- 0.9
  226. ExampleLabel.TextTransparency = 1 -- 0
  227.  
  228.  
  229. CmdListUIListLayout.Name = "CmdListUIListLayout"
  230. CmdListUIListLayout.Parent = CmdList
  231. CmdListUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  232.  
  233. CmdBarFrame.Name = "CmdBarFrame"
  234. CmdBarFrame.Parent = Main
  235. CmdBarFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  236. CmdBarFrame.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
  237. CmdBarFrame.BackgroundTransparency = 0.500
  238. CmdBarFrame.BorderSizePixel = 0
  239. CmdBarFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  240. CmdBarFrame.Size = UDim2.new(1, 0, 0, 0) -- UDim2.new(1, 0, 0.100000001, 0)
  241.  
  242. CmdBarDesign.Name = "CmdBarDesign"
  243. CmdBarDesign.Parent = CmdBarFrame
  244. CmdBarDesign.AnchorPoint = Vector2.new(0.5, 0.5)
  245. CmdBarDesign.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  246. CmdBarDesign.BackgroundTransparency = 1.000
  247. CmdBarDesign.BorderSizePixel = 0
  248. CmdBarDesign.Position = UDim2.new(0.5, 0, 0.5, 0)
  249. CmdBarDesign.Size = UDim2.new(0.25, 0, 0.75, 0)
  250. CmdBarDesign.Image = "rbxassetid://3570695787"
  251. CmdBarDesign.ImageColor3 = Color3.fromRGB(53, 53, 53)
  252. CmdBarDesign.ImageTransparency = 1 -- 0.750
  253. CmdBarDesign.ScaleType = Enum.ScaleType.Slice
  254. CmdBarDesign.SliceCenter = Rect.new(100, 100, 100, 100)
  255. CmdBarDesign.SliceScale = 0.120
  256.  
  257. CmdBar.Name = "CmdBar"
  258. CmdBar.Parent = CmdBarDesign
  259. CmdBar.AnchorPoint = Vector2.new(0.5, 0.5)
  260. CmdBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  261. CmdBar.BackgroundTransparency = 1.000
  262. CmdBar.BorderSizePixel = 0
  263. CmdBar.Position = UDim2.new(0.5, 0, 0.5, 0)
  264. CmdBar.Size = UDim2.new(0.949999988, 0, 0.949999988, 0)
  265. CmdBar.Font = Enum.Font.SourceSans
  266. CmdBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  267. CmdBar.PlaceholderText = "Type command here, enter to execute"
  268. CmdBar.Text = ""
  269. CmdBar.TextColor3 = Color3.fromRGB(231, 231, 231)
  270. CmdBar.TextTransparency = 1 -- 0
  271. CmdBar.TextSize = 17.000
  272.  
  273. NotificationFrame.Name = "NotificationFrame"
  274. NotificationFrame.Parent = ScreenGui
  275. NotificationFrame.AnchorPoint = Vector2.new(0.5, 0)
  276. NotificationFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  277. NotificationFrame.BackgroundTransparency = 1.000
  278. NotificationFrame.BorderSizePixel = 0
  279. NotificationFrame.Position = UDim2.new(0.5, 0, -0.5, 0) -- UDim2.new(0.5, 0, 0.0250000004, 0)
  280. NotificationFrame.Size = UDim2.new(0.5, 0, 0, 20)
  281. NotificationFrame.Visible = false
  282. NotificationFrame.Font = Enum.Font.SourceSans
  283. NotificationFrame.Text = ""
  284. NotificationFrame.TextColor3 = Color3.fromRGB(255, 255, 255)
  285. NotificationFrame.TextSize = 20.000
  286. NotificationFrame.TextStrokeTransparency = 0.800
  287. NotificationFrame.TextWrapped = true
  288. NotificationFrame.TextYAlignment = Enum.TextYAlignment.Top
  289.  
  290. CmdBlurEffect.Name = "CmdBlurEffect"
  291. CmdBlurEffect.Parent = game:GetService("Lighting")
  292. CmdBlurEffect.Enabled = true
  293. CmdBlurEffect.Size = 0 -- 10
  294.  
  295.  
  296. --/ Functions
  297.  
  298. function IceGear.Notify(message, possibletimer)
  299. spawn(function()
  300. for i, v in pairs(Main:GetChildren()) do
  301. if v.Name == "-NewNotification" then
  302. spawn(function()
  303. game:GetService("TweenService"):Create(v, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1, TextStrokeTransparency = 1, Position = UDim2.new(0.5, 0, -0.5, 0)}):Play()
  304. wait(0.25)
  305. v:Destroy()
  306. end)
  307. end
  308. end
  309.  
  310. local Notification = NotificationFrame:Clone()
  311. Notification.Name = "-NewNotification"
  312. Notification.Parent = Main
  313. Notification.Visible = true
  314. Notification.Text = tostring(message)
  315. game:GetService("TweenService"):Create(Notification, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {TextTransparency = 0, TextStrokeTransparency = 0.8, Position = UDim2.new(0.5, 0, 0.0250000004, 0)}):Play()
  316.  
  317. local NotificationRemove = false
  318. local Timer = 1
  319.  
  320. if typeof(possibletimer) == "table" and typeof(possibletimer[1]) == "number" and typeof(possibletimer[2]) == "number" and typeof(possibletimer[3]) == "number" then
  321. spawn(function()
  322.  
  323. for i = possibletimer[1], possibletimer[2], -possibletimer[3] do
  324. Timer = i
  325.  
  326. if NotificationRemove == false and Timer > 0 then
  327. wait(possibletimer[3])
  328. else
  329. break
  330. end
  331. end
  332. if NotificationRemove == false then
  333. NotificationRemove = true
  334. end
  335. end)
  336. end
  337.  
  338. repeat
  339. if typeof(possibletimer) == "table" and typeof(possibletimer[1]) == "number" and typeof(possibletimer[2]) == "number" and typeof(possibletimer[3]) == "number" then
  340. Notification.Text = tostring(message) .. "\n(" .. Timer .. ")"
  341. else
  342. Notification.Text = tostring(message)
  343. end
  344. Notification.Size = UDim2.new(0.5, 0, 9e9, 0)
  345. Notification.Size = UDim2.new(0.5, 0, Notification.TextBounds.Y, 0)
  346.  
  347. wait()
  348. until NotificationRemove == true or IceGear_AdminGui.Parent ~= game:GetService("CoreGui") or Timer <= 0
  349.  
  350. game:GetService("TweenService"):Create(Notification, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1, TextStrokeTransparency = 1, Position = UDim2.new(0.5, 0, -0.5, 0)}):Play()
  351. wait(0.25)
  352. Notification:Destroy()
  353. end)
  354. end
  355.  
  356. function IceGear.UpdateCmdList(cmdguiobject, cmdlistsettings)
  357. if cmdguiobject.Name == "-CmdList" and cmdguiobject.ClassName == "ScrollingFrame" then
  358.  
  359. for i, v in pairs(cmdguiobject:GetChildren()) do
  360. if v:IsA("GuiObject") and v.Visible == true then
  361. v:Destroy()
  362. end
  363. end
  364.  
  365.  
  366. if typeof(cmdlistsettings) == "table" and cmdlistsettings[1] ~= nil and cmdlistsettings[1].ClassName == "TextBox" then
  367. if cmdlistsettings[2] == "alphabetical" then
  368.  
  369. cmdguiobject.CanvasSize = UDim2.new(0, 0, 0, 0)
  370.  
  371. for i, v in pairs(IceGear.Cmds) do
  372. if v[1] ~= nil and string.find(string.lower(v[1]), string.lower(string.split(cmdlistsettings[1].Text, " ")[1])) then
  373.  
  374. local Cmd = ExampleLabel:Clone()
  375. Cmd.Name = v[1] .. "_Cmd"
  376. Cmd.Visible = true
  377. Cmd.Parent = cmdguiobject
  378. game:GetService("TweenService"):Create(Cmd, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0, TextStrokeTransparency = 0.9}):Play()
  379. if v[4] ~= nil then
  380. Cmd.Text = v[1] .. " [" .. v[4] .. "]"
  381. else
  382. Cmd.Text = v[1]
  383. end
  384.  
  385. local GetTextSizeY = game:GetService("TextService"):GetTextSize(Cmd.Text, Cmd.TextSize, Cmd.Font, Cmd.AbsoluteSize).Y
  386. Cmd.Size = UDim2.new(0.949999988, 0, 0, GetTextSizeY + 10)
  387.  
  388. cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + Cmd.TextBounds.Y + 15)
  389.  
  390. end
  391. end
  392.  
  393. elseif cmdlistsettings[2] == "none" then
  394.  
  395. cmdguiobject.CanvasSize = UDim2.new(0, 0, 0, 0)
  396.  
  397. for i, v in pairs(IceGear.Cmds) do
  398. if v[1] ~= nil and string.find(string.lower(v[1]), string.lower(string.split(cmdlistsettings[1].Text, " ")[1])) then
  399.  
  400. local Cmd = ExampleLabel:Clone()
  401. Cmd.Name = v[1] .. "_Cmd"
  402. Cmd.Visible = true
  403. Cmd.Parent = cmdguiobject
  404. game:GetService("TweenService"):Create(Cmd, TweenInfo.new(035, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0, TextStrokeTransparency = 0.9}):Play()
  405. if v[4] ~= nil then
  406. Cmd.Text = v[1] .. " [" .. v[4] .. "]"
  407. else
  408. Cmd.Text = v[1]
  409. end
  410.  
  411. local GetTextSizeY = game:GetService("TextService"):GetTextSize(Cmd.Text, Cmd.TextSize, Cmd.Font, Cmd.AbsoluteSize).Y
  412. Cmd.Size = UDim2.new(0.949999988, 0, 0, GetTextSizeY + 10)
  413.  
  414. cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + Cmd.TextBounds.Y + 15)
  415.  
  416. end
  417. end
  418.  
  419. cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + 15)
  420.  
  421. end
  422. end
  423.  
  424. end
  425. end
  426.  
  427. function IceGear.GetShortenedPlrFromName(name)
  428. name = string.lower(tostring(name))
  429.  
  430. if not game:GetService("Players"):FindFirstChild("me") and name == "me" or game:GetService("Players"):FindFirstChild("me") and game:GetService("Players"):FindFirstChild("me").ClassName ~= "Player" and name == "me" then
  431. return {LocalPlayer}
  432. end
  433. if not game:GetService("Players"):FindFirstChild("all") and name == "all" or game:GetService("Players"):FindFirstChild("all") and game:GetService("Players"):FindFirstChild("all").ClassName ~= "Player" and name == "all" then
  434. return game:GetService("Players"):GetPlayers()
  435. end
  436. if not game:GetService("Players"):FindFirstChild("others") and name == "others" or game:GetService("Players"):FindFirstChild("others") and game:GetService("Players"):FindFirstChild("others").ClassName ~= "Player" and name == "others" then
  437. name = game:GetService("Players"):GetPlayers()
  438. for i, v in pairs(name) do
  439. if v == LocalPlayer then
  440. table.remove(name, i)
  441. end
  442. end
  443. return name
  444. end
  445.  
  446. for i, v in pairs(game.Players:GetPlayers()) do
  447. if string.lower(string.sub(v.Name, 1, #name)) == name then
  448. return {v}
  449. end
  450. end
  451.  
  452. return nil
  453. end
  454.  
  455. function IceGear.AddCommand(cmdname, description, mainfunction, cmdargs)
  456. for i, v in pairs(IceGear.Cmds) do
  457. if v[1] ~= nil and string.lower(v[1]) == string.lower(cmdname) then
  458. return nil
  459. end
  460. end
  461.  
  462. if typeof(mainfunction) == "function" then
  463. if cmdargs then
  464. table.insert(IceGear.Cmds, {cmdname, description, mainfunction, cmdargs})
  465. else
  466. table.insert(IceGear.Cmds, {cmdname, description, mainfunction})
  467. end
  468. else
  469. return nil
  470. end
  471. end
  472.  
  473.  
  474.  
  475. --/ Scripting: Intro
  476.  
  477. game:GetService("TweenService"):Create(LeftFrameThing, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Position = UDim2.new(1, 0, 0.5, 0)}):Play()
  478. game:GetService("TweenService"):Create(RightFrameThing, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Position = UDim2.new(0, 0, 0.5, 0)}):Play()
  479. wait(0.5)
  480.  
  481. MiddleLogoThing.Visible = true
  482. game:GetService("TweenService"):Create(MiddleLogoThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  483. wait(0.35 / 2)
  484. MainLogo.Visible = true
  485. MainLogo2.Visible = true
  486. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  487. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Rotation = 180}):Play()
  488. game:GetService("TweenService"):Create(MainLogo2, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  489. wait(0.35)
  490.  
  491.  
  492. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Rotation = 360}):Play()
  493.  
  494. game:GetService("TweenService"):Create(BlueColorCorrection, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TintColor = Color3.fromRGB(207, 241, 255)}):Play()
  495. game:GetService("TweenService"):Create(LoadingThing, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = UDim2.new(1, 0, 1, 0)}):Play()
  496. game:GetService("TweenService"):Create(LoadingThing_2, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = UDim2.new(1, 0, 1, 0)}):Play()
  497.  
  498. AdminNameLabel.Visible = true
  499. for i = 1, #"IceGear | V" + #Settings.Version do
  500. AdminNameLabel.Text = string.sub("IceGear | V" .. Settings.Version, 1, i)
  501. wait(0.5 / (#"IceGear | V" + #Settings.Version))
  502. end
  503. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Rotation = 360 + 180}):Play()
  504. wait(0.5)
  505. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Rotation = 360 * 2 + 180}):Play()
  506. wait(0.5)
  507.  
  508. game:GetService("TweenService"):Create(LeftFrameThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Position = UDim2.new(-0.001, 0, 0.5, 0)}):Play()
  509. game:GetService("TweenService"):Create(RightFrameThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Position = UDim2.new(1.001, 0, 0.5, 0)}):Play()
  510. wait(0.35 / 2)
  511.  
  512. game:GetService("TweenService"):Create(MiddleLogoThing, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  513.  
  514. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.45, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  515. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Rotation = 45}):Play()
  516. game:GetService("TweenService"):Create(MainLogo2, TweenInfo.new(0.45, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  517. game:GetService("TweenService"):Create(BlueColorCorrection, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TintColor = Color3.fromRGB(255, 255, 255)}):Play()
  518. wait(0.5)
  519. Intro:Destroy()
  520. BlueColorCorrection:Destroy()
  521.  
  522.  
  523.  
  524. --/ Scripting: Main
  525.  
  526. -- CommandKey Check(s):
  527.  
  528. if not (typeof(IceGear.CommandKey) == "string" and Enum.KeyCode[IceGear.CommandKey]) then
  529. print("Error in IceGear command key, key has been set to back slash.")
  530. IceGear.CommandKey = "BackSlash"
  531. end
  532.  
  533. -- Commandbar Functionality:
  534.  
  535. IceGear.Debounces.CmdCooldown = false
  536.  
  537. IceGear.Events.InputBegan = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  538. if Key.KeyCode.Name == IceGear.CommandKey then
  539. if IceGear.Debounces.CmdCooldown == false then
  540. IceGear.Debounces.CmdCooldown = true
  541.  
  542. game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 15}):Play()
  543. game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), {Size = UDim2.new(1, 0, 0.100000001, 0)}):Play()
  544. wait(0.25)
  545. CmdBar:CaptureFocus()
  546. CmdList.Visible = true
  547. game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0.75}):Play()
  548. game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0}):Play()
  549. wait(0.25)
  550.  
  551. IceGear.Debounces.CmdCooldown = false
  552. end
  553. end
  554. end)
  555.  
  556. CmdBar:GetPropertyChangedSignal("Text"):Connect(function()
  557. IceGear.UpdateCmdList(CmdList, {CmdBar, "alphabetical"})
  558. end)
  559.  
  560. CmdBar.FocusLost:Connect(function(EnterPressed)
  561. spawn(function()
  562. if IceGear.Debounces.CmdCooldown == false then
  563. if EnterPressed then
  564.  
  565. IceGear.Debounces.CmdCooldown = true
  566.  
  567. local getcmd = string.split(string.lower(CmdBar.Text), " ")[1]
  568. local getargs = string.split(string.lower(CmdBar.Text), " ")
  569.  
  570. if string.sub(getcmd, 1, #IceGear.Prefix) == IceGear.Prefix then
  571. getcmd = string.sub(getcmd, #Settings.Prefix + 1, #getcmd)
  572. end
  573.  
  574. for i, v in pairs(string.split(string.lower(CmdBar.Text), ",")) do
  575. if i ~= 1 then
  576. table.insert(getargs, v)
  577. end
  578. end
  579. for i, v in pairs(string.split(string.lower(CmdBar.Text), ", ")) do
  580. if i ~= 1 then
  581. table.insert(getargs, v)
  582. end
  583. end
  584.  
  585. table.remove(getargs, 1)
  586.  
  587. for i, v in pairs(IceGear.Cmds) do
  588. if v[1] ~= nil and string.find(v[1], "/") then
  589. for i2, v2 in pairs( string.split(v[1], "/") ) do
  590.  
  591. v2 = string.lower(v2)
  592. if getcmd == v2 then
  593. if v[4] ~= nil then
  594. spawn(function()
  595. v[3](unpack(getargs))
  596. end)
  597. else
  598. spawn(function()
  599. v[3]()
  600. end)
  601. end
  602. break
  603. end
  604.  
  605. end
  606. elseif v[1] ~= nil then
  607. v[1] = string.lower(v[1])
  608. if getcmd == v[1] then
  609. if v[4] ~= nil then
  610. spawn(function()
  611. v[3](unpack(getargs))
  612. end)
  613. else
  614. spawn(function()
  615. v[3]()
  616. end)
  617. end
  618. break
  619. end
  620. end
  621. end
  622.  
  623. end
  624.  
  625. game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 0}):Play()
  626. game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Size = UDim2.new(1, 0, 0.0, 0)}):Play()
  627. CmdBar:ReleaseFocus()
  628. CmdList.Visible = false
  629. game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  630. game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1}):Play()
  631. wait(0.25)
  632. CmdBar.Text = ""
  633. IceGear.Debounces.CmdCooldown = false
  634. end
  635. end)
  636. end)
  637.  
  638. LocalPlayer.Chatted:Connect(function(msg)
  639. spawn(function()
  640. if IceGear.Debounces.CmdCooldown == false and string.sub(msg, 1, #Settings.Prefix) == Settings.Prefix then
  641.  
  642. IceGear.Debounces.CmdCooldown = true
  643.  
  644. local getcmd = string.split(string.lower(msg), " ")[1]
  645. local getargs = string.split(string.lower(msg), " ")
  646.  
  647. if string.sub(getcmd, 1, #IceGear.Prefix) == IceGear.Prefix then
  648. getcmd = string.sub(getcmd, #Settings.Prefix + 1, #getcmd)
  649. end
  650.  
  651. for i, v in pairs(string.split(string.lower(msg), ",")) do
  652. if i ~= 1 then
  653. table.insert(getargs, v)
  654. end
  655. end
  656. for i, v in pairs(string.split(string.lower(msg), ", ")) do
  657. if i ~= 1 then
  658. table.insert(getargs, v)
  659. end
  660. end
  661.  
  662. table.remove(getargs, 1)
  663.  
  664. for i, v in pairs(IceGear.Cmds) do
  665. if v[1] ~= nil and string.find(v[1], "/") then
  666. for i2, v2 in pairs( string.split(v[1], "/") ) do
  667.  
  668. v2 = string.lower(v2)
  669. if getcmd == v2 then
  670. if v[4] ~= nil then
  671. spawn(function()
  672. v[3](unpack(getargs))
  673. end)
  674. else
  675. spawn(function()
  676. v[3]()
  677. end)
  678. end
  679. break
  680. end
  681.  
  682. end
  683. elseif v[1] ~= nil then
  684. v[1] = string.lower(v[1])
  685. if getcmd == v[1] then
  686. if v[4] ~= nil then
  687. spawn(function()
  688. v[3](unpack(getargs))
  689. end)
  690. else
  691. spawn(function()
  692. v[3]()
  693. end)
  694. end
  695. break
  696. end
  697. end
  698. end
  699.  
  700. game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 0}):Play()
  701. game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Size = UDim2.new(1, 0, 0.0, 0)}):Play()
  702. CmdBar:ReleaseFocus()
  703. CmdList.Visible = false
  704. game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  705. game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1}):Play()
  706. wait(0.25)
  707. CmdBar.Text = ""
  708. IceGear.Debounces.CmdCooldown = false
  709. end
  710. end)
  711. end)
  712.  
  713.  
  714. game:GetService("RunService").Heartbeat:Connect(function()
  715. LocalPlayer.MaximumSimulationRadius = math.pow(math.huge, math.huge) * math.huge
  716. pcall(function() sethiddenproperty(LocalPlayer, "SimulationRadius", math.pow(math.huge, math.huge) * math.huge) end)
  717.  
  718. for i, v in pairs(game.Players:GetPlayers()) do
  719. if v ~= LocalPlayer then
  720. LocalPlayer.MaximumSimulationRadius = math.pow(math.huge, math.huge) * math.huge
  721. pcall(function() settings().Physics.AllowSleep = false ; sethiddenproperty(LocalPlayer, "SimulationRadius", math.pow(math.huge, math.huge) * math.huge) end)
  722. LocalPlayer.ReplicationFocus = Workspace
  723. end
  724. end
  725. end)
  726.  
  727. IceGear.Notify("Welcome to IceGear. \nPrefix is: " .. IceGear.Prefix, {10, 1, 1})
  728.  
  729. IceGear.AddCommand("Prefix", "Changes the prefix", function(prefix)
  730. if typeof(prefix) == "string" and #prefix <= 3 then
  731. IceGear.Notify("Prefix was succesfully changed to: " .. prefix, {5, 1, 1})
  732. elseif #prefix > 3 then
  733. IceGear.Notify("Prefix cannot be longer than 3 characters", {5, 1, 1})
  734. end
  735. end, "prefix")
  736.  
  737. IceGear.AddCommand("Runline", "Runs a 1-line of script (a.k.a. the first argument)", function(scriptline)
  738. local worked, geterror = pcall(function()
  739. loadstring(tostring(scriptline))()
  740. end)
  741.  
  742. if geterror then
  743. IceGear.Notify("Error in script (runline command): " .. geterror, {10, 1, 1})
  744. end
  745. end, "script")
  746.  
  747. function IceGear.GetHatsInWorkspace()
  748. local amount = 0
  749.  
  750. for i, v in pairs(game.Workspace:GetDescendants()) do
  751. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  752. if v:FindFirstChild("Handle") and v.Handle.Anchored == false and not game.Players:GetPlayerFromCharacter(v.Parent) then
  753. amount = amount + 1
  754. elseif v:FindFirstChild("Handle") and v.Handle.Anchored == false and game.Players:GetPlayerFromCharacter(v.Parent) == game.PlayeRA.LocalPlayer then
  755. amount = amount + 1
  756. end
  757. end
  758. end
  759.  
  760. return amount
  761. end
  762.  
  763. IceGear.AddCommand("Clearhats", "Clears all the hats in the workspace", function()
  764. for i, v in pairs(game.PlayeRA.LocalPlayer.Character:GetChildren()) do
  765. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  766. v:Destroy()
  767. end
  768. end
  769.  
  770.  
  771. repeat
  772. for i, v in pairs(game.Workspace:GetDescendants()) do
  773. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  774. if v:FindFirstChild("Handle") and v.Handle.Anchored == false and not game.Players:GetPlayerFromCharacter(v.Parent) then
  775. repeat
  776. v.Handle.CFrame = game.PlayeRA.LocalPlayer.Character.HumanoidRootPart.CFrame
  777. wait()
  778. until v.Parent == game.PlayeRA.LocalPlayer.Character or v.Parent == nil
  779. v:Destroy()
  780. elseif v:FindFirstChild("Handle") and v.Handle.Anchored == false and game.Players:GetPlayerFromCharacter(v.Parent) == game.PlayeRA.LocalPlayer then
  781. v:Destroy()
  782. end
  783. end
  784. end
  785. wait()
  786. until IceGear.GetHatsInWorkspace() <= 0
  787. end)
  788.  
  789. IceGear.AddCommand("Rejoin", "Rejoins the server", function()
  790. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
  791. end)
  792.  
  793. IceGear.AddCommand("checknet/netcheck", "Notifies you about who is using networkownership", function()
  794. local CheckIfWorks = pcall(function()
  795. gethiddenproperty(LocalPlayer, "SimulationRadius")
  796. end)
  797.  
  798. local Plrs = {}
  799. local Msg = ""
  800.  
  801. if CheckIfWorks then
  802. for i, v in pairs(game.Players:GetPlayers()) do
  803. if gethiddenproperty(v, "SimulationRadius") >= 5000 then
  804. table.insert(Plrs, v.Name)
  805. end
  806. end
  807.  
  808. if #Plrs <= 0 then
  809. Msg = "Network check ran: No players have been found using networkownership."
  810. elseif #Plrs == 1 then
  811. Msg = "Network check ran, the player using network: " .. Plrs[1]
  812. elseif #Plrs > 1 then
  813. Msg = "Network check ran, the players using network: "
  814. for i, v in pairs(Plrs) do
  815. Msg = Msg .. v .. ", "
  816. end
  817. Msg = string.sub(Msg, 1, #Msg - 2)
  818. end
  819.  
  820. return IceGear.Notify(Msg, {10, 1, 1})
  821. else
  822. return IceGear.Notify("Error: exploit doesn't support gethiddenproperty/sethiddenproperty?", {10, 1, 1})
  823. end
  824. end)
  825.  
  826. IceGear.AddCommand("tp", "Teleports first player argument (player1/players) to second player argument (player2)", function(player1, player2)
  827. if IceGear.GetShortenedPlrFromName(player1) ~= nil and IceGear.GetShortenedPlrFromName(player2) ~= nil then
  828. local Player1
  829. local Player2
  830.  
  831. for i, v in pairs(IceGear.GetShortenedPlrFromName(player1)) do
  832. Player1 = v
  833. for i2, v2 in pairs(IceGear.GetShortenedPlrFromName(player2)) do
  834. Player2 = v2
  835. if not (Player1 and Player1.Character) or not (Player2 and Player2.Character) then
  836. return IceGear.Notify("Error in tp command", "Player does not have character/is not loaded in", {5, 1, 1})
  837. elseif not (Player1.Character:FindFirstChild("HumanoidRootPart") or Player1.Character.PrimaryPart) or not (Player2.Character:FindFirstChild("HumanoidRootPart") or Player2.Character.PrimaryPart) then
  838. return IceGear.Notify("Error in tp command", "Player cannot be teleported", {5, 1, 1})
  839. end
  840.  
  841. if Player1.Character:FindFirstChild("HumanoidRootPart") and Player2.Character:FindFirstChild("HumanoidRootPart") then
  842. Player1.Character.HumanoidRootPart.CFrame = Player2.Character.HumanoidRootPart.CFrame
  843. elseif Player1.Character.PrimaryPart and Player2.Character.PrimaryPart then
  844. Player1.Character:SetPrimaryPartCFrame(Player2.Character.PrimaryPart.CFrame)
  845. end
  846. end
  847.  
  848. end
  849. else
  850. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  851. end
  852. end, "player 1, player 2")
  853.  
  854. IceGear.AddCommand("goto/to", "Teleports to player", function(player)
  855. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  856. local Player
  857. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  858. Player = v
  859. if not (LocalPlayer and LocalPlayer.Character) or not (Player and Player.Character) then
  860. return IceGear.Notify("Error in goto/to command", "Player or LocalPlayer does not have character/is not loaded in", {5, 1, 1})
  861. elseif not (LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character.PrimaryPart) or not (Player.Character:FindFirstChild("HumanoidRootPart") or Player.Character.PrimaryPart) then
  862. return IceGear.Notify("Error in goto/to command", "Player or LocalPlayer cannot be teleported", {5, 1, 1})
  863. end
  864.  
  865. if LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChild("HumanoidRootPart") then
  866. LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame
  867. elseif LocalPlayer.Character.PrimaryPart and Player.Character.PrimaryPart then
  868. LocalPlayer.Character:SetPrimaryPartCFrame(Player.Character.PrimaryPart.CFrame)
  869. end
  870. end
  871. else
  872. IceGear.Notify("Could not find player", "Such player does not exist in the server (or username was spelt wrong?)", {5, 1, 1})
  873. end
  874. end, "player")
  875.  
  876. IceGear.AddCommand("bring", "Brings player", function(player)
  877. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  878. local Player
  879. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  880. Player = v
  881. if not (LocalPlayer and LocalPlayer.Character) or not (Player and Player.Character) then
  882. return IceGear.Notify("Error in bring command", "Player or LocalPlayer does not have character/is not loaded in", {5, 1, 1})
  883. elseif not (LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character.PrimaryPart) or not (Player.Character:FindFirstChild("HumanoidRootPart") or Player.Character.PrimaryPart) then
  884. return IceGear.Notify("Error in bring command", "Player or LocalPlayer cannot be teleported", {5, 1, 1})
  885. end
  886.  
  887. if LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChild("HumanoidRootPart") then
  888. Player.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  889. elseif LocalPlayer.Character.PrimaryPart and Player.Character.PrimaryPart then
  890. Player.Character:SetPrimaryPartCFrame(LocalPlayer.Character.PrimaryPart.CFrame)
  891. end
  892. end
  893. else
  894. IceGear.Notify("Could not find player", "Such player does not exist in the server (or username was spelt wrong?)", {5, 1, 1})
  895. end
  896. end, "player")
  897.  
  898. IceGear.AddCommand("walkspeed/speed/ws", "Sets walkspeed of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, speed)
  899. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  900. local Player
  901. print(tonumber(speed))
  902. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  903. Player = v
  904. if not (Player and Player.Character) then
  905. return IceGear.Notify("Error in walkspeed/speed/ws command", "Player does not have character/is not loaded in", {5, 1, 1})
  906. elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  907. return IceGear.Notify("Error in walkspeed/speed/ws command", "Player does not have a humanoid", {5, 1, 1})
  908. end
  909.  
  910. if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(speed)) == "number" then
  911. Player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = tonumber(speed)
  912. elseif typeof(tonumber(speed)) ~= "number" then
  913. IceGear.Notify("Incorrect speed number", "speed value entered is not a number/could not be turned into a number", {5, 1, 1})
  914. end
  915. end
  916. else
  917. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  918. end
  919. end, "player(s), speed")
  920.  
  921. IceGear.AddCommand("jumppower/jp", "Sets jumppower of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, power)
  922. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  923. local Player
  924.  
  925. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  926. Player = v
  927. if not (Player and Player.Character) then
  928. return IceGear.Notify("Error in jumppower/jp command", "Player does not have character/is not loaded in", {5, 1, 1})
  929. elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  930. return IceGear.Notify("Error in jumppower/jp command", "Player does not have a humanoid", {5, 1, 1})
  931. end
  932.  
  933. if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(power)) == "number" then
  934. Player.Character:FindFirstChildOfClass("Humanoid").JumpPower = tonumber(power)
  935. elseif typeof(tonumber(power)) ~= "number" then
  936. IceGear.Notify("Incorrect jumppower number", "jumppower value entered is not a number/could not be turned into a number", {5, 1, 1})
  937. end
  938. end
  939. else
  940. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  941. end
  942. end, "player(s), power")
  943.  
  944.  
  945. IceGear.AddCommand("hipheight/hh", "Sets hipheight of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, height)
  946. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  947. local Player
  948.  
  949. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  950. Player = v
  951. if not (Player and Player.Character) then
  952. return IceGear.Notify("Error in hipheight/hh command", "Player does not have character/is not loaded in", {5, 1, 1})
  953. elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  954. return IceGear.Notify("Error in hipheight/hh command", "Player does not have a humanoid", {5, 1, 1})
  955. end
  956.  
  957. if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(height)) == "number" then
  958. Player.Character:FindFirstChildOfClass("Humanoid").HipHeight = tonumber(height)
  959. elseif typeof(tonumber(height)) ~= "number" then
  960. IceGear.Notify("Incorrect hipheight number", "hipheight value entered is not a number/could not be turned into a number", {5, 1, 1})
  961. end
  962. end
  963. else
  964. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  965. end
  966. end, "player(s), height")
  967.  
  968. IceGear.AddCommand("noclip", "Noclips player until disabled/player dies, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)
  969. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  970. local Player
  971.  
  972. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  973. Player = v
  974. if not (Player and Player.Character) then
  975. return IceGear.Notify("Error in noclip command", "Player does not have character/is not loaded in", {5, 1, 1})
  976. elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  977. return IceGear.Notify("Error in noclip command", "Player does not have a humanoid", {5, 1, 1})
  978. end
  979.  
  980. if Player.Character:FindFirstChild("-Noclipped") then
  981. Player.Character:FindFirstChild("-Noclipped"):Destroy()
  982. end
  983.  
  984. local Noclipped = Instance.new("ObjectValue")
  985. Noclipped.Name = "-Noclipped"
  986. Noclipped.Parent = Player.Character
  987.  
  988. local LoopTillEnd
  989. LoopTillEnd = game:GetService("RunService").Stepped:Connect(function()
  990. if Player and Player.Character and Player.Character:FindFirstChild("-Noclipped") then
  991. for i2, v2 in pairs(Player.Character:GetDescendants()) do
  992. if v2:IsA("BasePart") then
  993. v2.CanCollide = false
  994. end
  995. end
  996. else
  997. LoopTillEnd:Disconnect()
  998. end
  999. end)
  1000. end
  1001. else
  1002. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1003. end
  1004. end, "player(s)")
  1005.  
  1006. IceGear.AddCommand("clip", "Disables player noclip if player is noclipped with noclip command, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)
  1007. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1008. local Player
  1009.  
  1010. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1011. Player = v
  1012. if Player and Player.Character and Player.Character:FindFirstChild("-Noclipped") then
  1013. Player.Character:FindFirstChild("-Noclipped"):Destroy()
  1014. end
  1015. end
  1016. else
  1017. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1018. end
  1019. end, "player(s)")
  1020.  
  1021. IceGear.AddCommand("changestate", "Changes player's humanoid state until disabled/player dies, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, numberstate)
  1022. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1023. local Player
  1024.  
  1025. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1026. Player = v
  1027. if not (Player and Player.Character) then
  1028. return IceGear.Notify("Error in changestate command", "Player does not have character/is not loaded in", {5, 1, 1})
  1029. elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  1030. return IceGear.Notify("Error in changestate command", "Player does not have a humanoid", {5, 1, 1})
  1031. end
  1032.  
  1033. if typeof(tonumber(numberstate)) ~= "number" then
  1034. return IceGear.Notify("Error in changestate command", "number state is not a number/could not be turned into a number", {5, 1, 1})
  1035. end
  1036.  
  1037. if Player.Character:FindFirstChild("-Statechanging") then
  1038. Player.Character:FindFirstChild("-Statechanging"):Destroy()
  1039. end
  1040.  
  1041. local Noclipped = Instance.new("ObjectValue")
  1042. Noclipped.Name = "-Statechanging"
  1043. Noclipped.Parent = Player.Character
  1044.  
  1045. local LoopTillEnd
  1046. LoopTillEnd = game:GetService("RunService").Stepped:Connect(function()
  1047. if Player and Player.Character and Player.Character:FindFirstChildOfClass("Humanoid") and Player.Character:FindFirstChild("-Statechanging") then
  1048. for i2, v2 in pairs(Player.Character:GetDescendants()) do
  1049. if v2.ClassName == "Humanoid" then
  1050. v2:ChangeState(tonumber(numberstate))
  1051. end
  1052. end
  1053. else
  1054. LoopTillEnd:Disconnect()
  1055. end
  1056. end)
  1057. end
  1058. else
  1059. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1060. end
  1061. end, "player(s), numberstate")
  1062.  
  1063. IceGear.AddCommand("unchangestate", "Disables player changestate if player is statechanged with changestate command, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)
  1064. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1065. local Player
  1066.  
  1067. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1068. Player = v
  1069. if Player and Player.Character and Player.Character:FindFirstChild("-Statechanging") then
  1070. Player.Character:FindFirstChild("-Statechanging"):Destroy()
  1071. end
  1072. end
  1073. else
  1074. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1075. end
  1076. end, "player(s)")
  1077.  
  1078. IceGear.AddCommand("kill", "Kills player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)
  1079. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1080. local Player
  1081. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1082. Player = v
  1083. if Player and Player.Character and Player.Character then
  1084. Player.Character:BreakJoints()
  1085. end
  1086. end
  1087. else
  1088. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1089. end
  1090. end, "player(s)")
  1091.  
  1092. IceGear.AddCommand("control", "controls player using claim", function(player)
  1093. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1094. local Player
  1095. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1096. Player = v
  1097. if Player and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChildOfClass("Humanoid") then
  1098. Player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 100
  1099. Player.Character:FindFirstChildOfClass("Humanoid").Jump = true
  1100. Player.Character:FindFirstChildOfClass("Humanoid").Jump = false
  1101.  
  1102. Player.Character.HumanoidRootPart.Parent = LocalPlayer.Character
  1103.  
  1104. LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1105. end
  1106. end
  1107. else
  1108. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1109. end
  1110. end, "player(s)")
  1111.  
  1112. IceGear.AddCommand("claim", "Claims player with networkownership.", function(player)
  1113. if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1114. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1115. if v:IsA("Part") then v:Remove()
  1116. end
  1117. end
  1118. wait(6.7)
  1119. local Player
  1120.  
  1121. if LocalPlayer and LocalPlayer.Character and (LocalPlayer.Character:FindFirstChild("Right Arm") and LocalPlayer.Character:FindFirstChild("Right Arm"):IsA("BasePart") or LocalPlayer.Character:FindFirstChild("Right Hand") and LocalPlayer.Character:FindFirstChild("Right Hand"):IsA("BasePart")) then
  1122. if LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  1123. local Tool = LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  1124.  
  1125.  
  1126. for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1127. Player = v
  1128. if Player and Player.Character and (Player.Character:FindFirstChild("Right Arm") and Player.Character:FindFirstChild("Right Arm"):IsA("BasePart") or Player.Character:FindFirstChild("Right Hand") and Player.Character:FindFirstChild("Right Hand"):IsA("BasePart")) then
  1129. LocalPlayer.Character['Left Leg']:Destroy()
  1130. LocalPlayer.Character['Right Leg']:Destroy()
  1131. LocalPlayer.Character['Left Arm']:Destroy()
  1132. wait(0.3544556)
  1133.  
  1134. if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1135. LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):Destroy()
  1136. end
  1137. Instance.new("Humanoid").Parent = LocalPlayer.Character
  1138.  
  1139. Tool.Parent = LocalPlayer.Character
  1140. if Tool:FindFirstChild("Handle") and Player.Character.PrimaryPart ~= nil then
  1141. repeat
  1142. Player.Character:SetPrimaryPartCFrame(Tool.Handle.CFrame)
  1143. game:GetService("RunService").Stepped:Wait()
  1144. until Tool.Parent == Player.Character
  1145.  
  1146. Workspace.FallenPartsDestroyHeight = 0/1/0
  1147. local CurrentCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  1148. wait(0.3)
  1149.  
  1150. for i = 1, 10 do
  1151. LocalPlayer.Character.HumanoidRootPart.CFrame = CurrentCFrame - Vector3.new(0, math.huge, 0)
  1152. end
  1153. wait(0.3)
  1154.  
  1155. for i = 1, 10 do
  1156. LocalPlayer.Character.HumanoidRootPart.CFrame = CurrentCFrame
  1157. end
  1158.  
  1159. if not Player.Character:FindFirstChild("-Claimed") then
  1160. local Claimed = Instance.new("ObjectValue")
  1161. Claimed.Name = "-Claimed"
  1162. Claimed.Parent = Player.Character
  1163. end
  1164.  
  1165. LocalPlayer.CharacterAdded:Wait()
  1166. repeat
  1167. wait()
  1168. until LocalPlayer.Character.HumanoidRootPart and LocalPlayer.Character:FindFirstChild("Head") and LocalPlayer.Character:FindFirstChild("Torso") and LocalPlayer.Character.Torso:FindFirstChild("Neck")
  1169.  
  1170. if #IceGear.GetShortenedPlrFromName(player) > 1 then
  1171. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  1172. end
  1173. end
  1174. end
  1175. end
  1176. else
  1177. return IceGear.Notify("Need 1 tool", "You need at least 1 tool in order to claim player", {5, 1, 1})
  1178. end
  1179. end
  1180. else
  1181. IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1182. end
  1183. end, "player(s)")
  1184.  
  1185. IceGear.AddCommand("GrabKnife", "Loads FE grab knife remake", function()
  1186. local KnifeAccessory
  1187.  
  1188. if LocalPlayer:FindFirstChild("-Running") then
  1189. return IceGear.Notify("Command: " .. LocalPlayer["-Running"].Value .. " is already running.", {7, 1, 1})
  1190. elseif not LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
  1191. return IceGear.Notify("You need at least 1 hat or preferably accessory: https://www.roblox.com/catalog/4684948729/Kawaii-Knife", {7, 1, 1})
  1192. else
  1193.  
  1194. if LocalPlayer.Character:FindFirstChild("YandereKnife") and LocalPlayer.Character["YandereKnife"].ClassName == "Accessory" then
  1195. KnifeAccessory = LocalPlayer.Character["YandereKnife"]
  1196. else
  1197. KnifeAccessory = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  1198. end
  1199.  
  1200. local Running = Instance.new("StringValue")
  1201. Running.Parent = LocalPlayer
  1202. Running.Name = "-Running"
  1203. Running.Value = "Grab Knife"
  1204.  
  1205.  
  1206.  
  1207.  
  1208. local LeftArm = LocalPlayer.Character["Left Arm"]:Clone()
  1209. LeftArm.Parent = LocalPlayer.Character
  1210. LeftArm.Name = "LeftArm"
  1211. LeftArm.Transparency = 1
  1212. LeftArm:ClearAllChildren()
  1213.  
  1214. local RightArm = LocalPlayer.Character["Right Arm"]:Clone()
  1215. RightArm.Parent = LocalPlayer.Character
  1216. RightArm.Name = "RightArm"
  1217. RightArm.Transparency = 1
  1218. RightArm:ClearAllChildren()
  1219.  
  1220. local Stuff = {
  1221. Events = {},
  1222. Debounces = {Button1DownDebounce = false},
  1223. PlrHeld = nil,
  1224. Mode = 1 -- 1 = kill, 2 = throw, 3 = let go, 4 = suicide
  1225. }
  1226.  
  1227. if LocalPlayer.Character:FindFirstChild("-GrabKnife") then
  1228. LocalPlayer.Character:FindFirstChild("-GrabKnife"):Destroy()
  1229. end
  1230. if LocalPlayer.Character:FindFirstChild("GrabKnifeLA") then
  1231. LocalPlayer.Character:FindFirstChild("GrabKnifeLA"):Destroy()
  1232. end
  1233. if LocalPlayer.Character:FindFirstChild("GrabKnifeRA") then
  1234. LocalPlayer.Character:FindFirstChild("GrabKnifeRA"):Destroy()
  1235. end
  1236.  
  1237.  
  1238.  
  1239. local LA
  1240. local RA
  1241.  
  1242. local RS = LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  1243. LocalPlayer.Character.Torso["Right Shoulder"]:Destroy()
  1244.  
  1245. RS.Parent = LocalPlayer.Character.Torso
  1246. RS.Part0 = RS.Parent
  1247. RS.Part1 = RightArm
  1248.  
  1249. local Attach0 = Instance.new("Attachment")
  1250. Attach0.Parent = LocalPlayer.Character["Right Arm"]
  1251. local Attach1 = Instance.new("Attachment")
  1252. Attach1.Parent = RightArm
  1253.  
  1254. local Pos = Instance.new("AlignPosition")
  1255. Pos.Parent = LocalPlayer.Character.Torso
  1256. Pos.RigidityEnabled = true
  1257. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1258.  
  1259. local Rot = Instance.new("AlignOrientation")
  1260. Rot.Parent = LocalPlayer.Character.Torso
  1261. Rot.RigidityEnabled = true
  1262. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1263.  
  1264. local LS = LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  1265. LocalPlayer.Character.Torso["Left Shoulder"]:Destroy()
  1266.  
  1267. LS.Parent = LocalPlayer.Character.Torso
  1268. LS.Part0 = LS.Parent
  1269. LS.Part1 = LeftArm
  1270.  
  1271. local Attach0 = Instance.new("Attachment")
  1272. Attach0.Parent = LocalPlayer.Character["Left Arm"]
  1273. local Attach1 = Instance.new("Attachment")
  1274. Attach1.Parent = LeftArm
  1275.  
  1276. local Pos = Instance.new("AlignPosition")
  1277. Pos.Parent = LocalPlayer.Character.Torso
  1278. Pos.RigidityEnabled = true
  1279. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1280.  
  1281. local Rot = Instance.new("AlignOrientation")
  1282. Rot.Parent = LocalPlayer.Character.Torso
  1283. Rot.RigidityEnabled = true
  1284. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1285.  
  1286.  
  1287. local Knife = Instance.new("Part")
  1288. Knife.Name = "-GrabKnife"
  1289. Knife.Parent = LocalPlayer.Character
  1290. Knife.Size = Vector3.new(0.25, 2, 0.25)
  1291. Knife.Transparency = 1
  1292. Knife.CanCollide = false
  1293.  
  1294. local KnifeWeld = Instance.new("Weld")
  1295. KnifeWeld.Parent = Knife
  1296. KnifeWeld.Part0 = LeftArm
  1297. KnifeWeld.Part1 = Knife
  1298. KnifeWeld.C0 = CFrame.new(Vector3.new(0.2, -0.85, 0)) * CFrame.Angles(math.rad(0), math.rad(00), math.rad(0))
  1299. KnifeWeld.C1 = CFrame.new(Vector3.new(0, 0.75, -0.125)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1300.  
  1301. KnifeAccessory.Handle.AccessoryWeld:Destroy()
  1302. local Attach0 = Instance.new("Attachment")
  1303. Attach0.Parent = KnifeAccessory.Handle
  1304. Attach0.CFrame = CFrame.new(Vector3.new(-0.5, 0, -0.5)) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-90))
  1305. local Attach1 = Instance.new("Attachment")
  1306. Attach1.Parent = Knife
  1307.  
  1308. local Pos = Instance.new("AlignPosition")
  1309. Pos.Parent = Knife
  1310. Pos.RigidityEnabled = true
  1311. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1312.  
  1313. local Rot = Instance.new("AlignOrientation")
  1314. Rot.Parent = Knife
  1315. Rot.RigidityEnabled = true
  1316. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1317.  
  1318.  
  1319. Stuff.Events.ModeChangeEvent = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  1320. if Key.KeyCode == Enum.KeyCode.Q then
  1321. Stuff.Mode = 1
  1322. elseif Key.KeyCode == Enum.KeyCode.E then
  1323. Stuff.Mode = 2
  1324. elseif Key.KeyCode == Enum.KeyCode.R then
  1325. Stuff.Mode = 3
  1326. elseif Key.KeyCode == Enum.KeyCode.T then
  1327. Stuff.Mode = 4
  1328. end
  1329. end)
  1330.  
  1331. Stuff.Events.Button1DownEvent = LocalPlayer:GetMouse().Button1Down:Connect(function()
  1332. if Stuff.Debounces.Button1DownDebounce == false and Stuff.PlrHeld == nil and Stuff.Mode ~= 4 then
  1333.  
  1334. Stuff.Debounces.Button1DownDebounce = true
  1335.  
  1336. LA = Instance.new("Weld")
  1337. LA.Name = "GrabKnifeLA"
  1338. LA.Parent = LocalPlayer.Character
  1339. LA.Part0 = LocalPlayer.Character.Torso
  1340. LA.Part1 = LeftArm
  1341. LA.C0 = CFrame.new(Vector3.new(-1, 1, 0)) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(-10))
  1342. LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1343.  
  1344. RA = Instance.new("Weld")
  1345. RA.Name = "GrabKnifeRA"
  1346. RA.Parent = LocalPlayer.Character
  1347. RA.Part0 = LocalPlayer.Character.Torso
  1348. RA.Part1 = RightArm
  1349. RA.C0 = CFrame.new(Vector3.new(1, 1, 0)) * CFrame.Angles(math.rad(10), math.rad(-10), math.rad(10))
  1350. RA.C1 = CFrame.new(Vector3.new(-0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1351.  
  1352. wait(0.1)
  1353. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-90), math.rad(-10)) }):Play()
  1354. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1, 0.75, 0)) * CFrame.Angles(math.rad(70), math.rad(40), math.rad(10)) }):Play()
  1355.  
  1356. local PossiblePlr
  1357. for i = 1, 20 do
  1358. if Stuff.PlrHeld == nil then
  1359. PossiblePlr = game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 2))
  1360. if PossiblePlr ~= nil and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent) and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent).Character and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent).Character:FindFirstChild("-Claimed") then
  1361. Stuff.PlrHeld = game.Players:GetPlayerFromCharacter(PossiblePlr.Parent)
  1362. break
  1363. end
  1364. wait(0.0375)
  1365. end
  1366. end
  1367. LA:Destroy()
  1368. RA:Destroy()
  1369. LA = nil
  1370. RA = nil
  1371. Stuff.Debounces.Button1DownDebounce = false
  1372.  
  1373. elseif Stuff.Mode ~= 4 and Stuff.PlrHeld ~= nil and Stuff.PlrHeld.ClassName == "Player" and Stuff.PlrHeld.Character and Stuff.PlrHeld.Character.PrimaryPart and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid") and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  1374.  
  1375. if Stuff.Mode == 1 then -- kill
  1376. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(90), math.rad(-100), math.rad(-10)) }):Play()
  1377. wait(0.35)
  1378. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.175, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(50), math.rad(-60), math.rad(-20)) }):Play()
  1379. wait(0.175)
  1380. Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1381. wait(0.25)
  1382. Stuff.PlrHeld = nil
  1383. if LA then
  1384. LA:Destroy()
  1385. LA = nil
  1386. end
  1387. if RA then
  1388. RA:Destroy()
  1389. RA = nil
  1390. end
  1391. elseif Stuff.Mode == 2 then -- throw
  1392. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-10)) }):Play()
  1393. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1, 0.75, 1)) * CFrame.Angles(math.rad(70), math.rad(60), math.rad(10)) }):Play()
  1394. wait(0.075)
  1395. Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1396. local BF = Instance.new("BodyForce")
  1397. BF.Parent = Stuff.PlrHeld.Character.PrimaryPart
  1398. BF.Force = Vector3.new(0, 20, 0) + LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 20
  1399. wait(0.25)
  1400. BF:Destroy()
  1401. wait(0.25)
  1402. Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1403. if Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1404. Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix"):Destroy()
  1405. end
  1406. Stuff.PlrHeld = nil
  1407. if LA then
  1408. LA:Destroy()
  1409. LA = nil
  1410. end
  1411. if RA then
  1412. RA:Destroy()
  1413. RA = nil
  1414. end
  1415. elseif Stuff.Mode == 3 then -- let go
  1416. if Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1417. Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix"):Destroy()
  1418. end
  1419. Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1420. Stuff.PlrHeld = nil
  1421. if LA then
  1422. LA:Destroy()
  1423. LA = nil
  1424. end
  1425. if RA then
  1426. RA:Destroy()
  1427. RA = nil
  1428. end
  1429. end
  1430.  
  1431. elseif Stuff.Mode == 4 then -- suicide
  1432.  
  1433. if LA then
  1434. LA:Destroy()
  1435. LA = nil
  1436. end
  1437. if RA then
  1438. RA:Destroy()
  1439. RA = nil
  1440. end
  1441.  
  1442. LA = Instance.new("Weld")
  1443. LA.Name = "GrabKnifeLA"
  1444. LA.Parent = LocalPlayer.Character
  1445. LA.Part0 = LocalPlayer.Character.Torso
  1446. LA.Part1 = LeftArm
  1447. LA.C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(-10))
  1448. LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1449. wait(0.5)
  1450.  
  1451. game:GetService("TweenService"):Create(LA, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-100), math.rad(-10)) }):Play()
  1452. wait(1.5)
  1453.  
  1454. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.075, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 0.75, 1)) * CFrame.Angles(math.rad(30), math.rad(-130), math.rad(-10)) }):Play()
  1455. wait(0.1)
  1456. if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1457. LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1458. end
  1459.  
  1460. end
  1461. end)
  1462.  
  1463.  
  1464. repeat
  1465. if Stuff.PlrHeld ~= nil and Stuff.PlrHeld.ClassName == "Player" and Stuff.PlrHeld.Character and Stuff.PlrHeld.Character.PrimaryPart and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid") and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  1466. if LA == nil then
  1467. LA = Instance.new("Weld")
  1468. LA.Name = "GrabKnifeLA"
  1469. LA.Parent = LocalPlayer.Character
  1470. LA.Part0 = LocalPlayer.Character.Torso
  1471. LA.Part1 = LeftArm
  1472. LA.C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-90), math.rad(-10))
  1473. LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1474. end
  1475. if RA == nil then
  1476. RA = Instance.new("Weld")
  1477. RA.Name = "GrabKnifeRA"
  1478. RA.Parent = LocalPlayer.Character
  1479. RA.Part0 = LocalPlayer.Character.Torso
  1480. RA.Part1 = RightArm
  1481. RA.C0 = CFrame.new(Vector3.new(1, 0.75, 0)) * CFrame.Angles(math.rad(70), math.rad(40), math.rad(10))
  1482. RA.C1 = CFrame.new(Vector3.new(-0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1483. end
  1484. for i, v in pairs(Stuff.PlrHeld.Character:GetDescendants()) do
  1485. if v:IsA("BasePart") then
  1486. v.CanCollide = false
  1487. end
  1488. end
  1489. Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1490. if not Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1491. local bv = Instance.new("BodyVelocity")
  1492. bv.Name = "CFrameFix"
  1493. bv.Parent = Stuff.PlrHeld.Character.PrimaryPart
  1494. bv.Velocity = Vector3.new(0, 0, 0)
  1495. end
  1496. Stuff.PlrHeld.Character:SetPrimaryPartCFrame(LocalPlayer.Character.PrimaryPart.CFrame + LocalPlayer.Character.PrimaryPart.CFrame.LookVector * LocalPlayer.Character.PrimaryPart.Size.Z)
  1497. end
  1498. game:GetService("RunService").Stepped:Wait()
  1499. until not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1500.  
  1501. if LA ~= nil then
  1502. LA:Destroy()
  1503. LA = nil
  1504. end
  1505. if RA ~= nil then
  1506. RA:Destroy()
  1507. RA = nil
  1508. end
  1509.  
  1510. for i, v in pairs(Stuff.Events) do
  1511. v:Disconnect()
  1512. end
  1513.  
  1514. if LocalPlayer:FindFirstChild("-Running") then
  1515. LocalPlayer:FindFirstChild("-Running"):Destroy()
  1516. end
  1517.  
  1518. if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1519. LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1520. end
  1521.  
  1522. end
  1523. end)
  1524.  
  1525. IceGear.AddCommand("Karambit", "Loads FE karambit", function()
  1526. local KnifeAccessory
  1527.  
  1528. if LocalPlayer:FindFirstChild("-Running") then
  1529. return IceGear.Notify("Command: " .. LocalPlayer["-Running"].Value .. " is already running.", {7, 1, 1})
  1530. elseif not LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
  1531. return IceGear.Notify("You need at least 1 hat or preferably accessory:\n https://www.roblox.com/catalog/4684948729/Kawaii-Knife", {7, 1, 1})
  1532. else
  1533.  
  1534. if LocalPlayer.Character:FindFirstChild("YandereKnife") and LocalPlayer.Character["YandereKnife"].ClassName == "Accessory" then
  1535. KnifeAccessory = LocalPlayer.Character["YandereKnife"]
  1536. else
  1537. KnifeAccessory = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  1538. end
  1539.  
  1540. local Running = Instance.new("StringValue")
  1541. Running.Parent = LocalPlayer
  1542. Running.Name = "-Running"
  1543. Running.Value = "Karambit"
  1544.  
  1545. local Torso = LocalPlayer.Character.Torso:Clone()
  1546. Torso.Parent = LocalPlayer.Character
  1547. Torso.Name = "AnimTorso"
  1548. Torso.Transparency = 1
  1549. Torso.CanCollide = false
  1550. Torso:ClearAllChildren()
  1551.  
  1552. local LeftArm = LocalPlayer.Character["Left Arm"]:Clone()
  1553. LeftArm.Parent = LocalPlayer.Character
  1554. LeftArm.Name = "LeftArm"
  1555. LeftArm.Transparency = 1
  1556. LeftArm.CanCollide = false
  1557. LeftArm:ClearAllChildren()
  1558.  
  1559. local RightArm = LocalPlayer.Character["Right Arm"]:Clone()
  1560. RightArm.Parent = LocalPlayer.Character
  1561. RightArm.Name = "RightArm"
  1562. RightArm.Transparency = 1
  1563. RightArm.CanCollide = false
  1564. RightArm:ClearAllChildren()
  1565.  
  1566. --LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  1567.  
  1568. local Stuff = {
  1569. Events = {},
  1570. Debounces = {Button1DownDebounce = false},
  1571. LeftClickHolding = false,
  1572. Mode = 1, -- 1 = attack, 2 = climb mode
  1573. AttackCombo = 1,
  1574. Stab = false,
  1575. Climbing = false
  1576. }
  1577.  
  1578. if LocalPlayer.Character:FindFirstChild("-Karambit") then
  1579. LocalPlayer.Character:FindFirstChild("-Karambit"):Destroy()
  1580. end
  1581. if LocalPlayer.Character:FindFirstChild("KarambitLA") then
  1582. LocalPlayer.Character:FindFirstChild("KarambitLA"):Destroy()
  1583. end
  1584. if LocalPlayer.Character:FindFirstChild("KarambitRA") then
  1585. LocalPlayer.Character:FindFirstChild("KarambitRA"):Destroy()
  1586. end
  1587. if LocalPlayer.Character:FindFirstChild("KarambitT") then
  1588. LocalPlayer.Character:FindFirstChild("KarambitT"):Destroy()
  1589. end
  1590.  
  1591. local LA
  1592. local RA
  1593. local RJ
  1594.  
  1595. LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1596.  
  1597.  
  1598. local Attach0 = Instance.new("Attachment")
  1599. Attach0.Parent = LocalPlayer.Character.Torso
  1600. local Attach1 = Instance.new("Attachment")
  1601. Attach1.Parent = Torso
  1602.  
  1603. local Pos = Instance.new("AlignPosition")
  1604. Pos.Parent = LocalPlayer.Character.Torso
  1605. Pos.RigidityEnabled = true
  1606. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1607.  
  1608. local Rot = Instance.new("AlignOrientation")
  1609. Rot.Parent = LocalPlayer.Character.Torso
  1610. Rot.RigidityEnabled = true
  1611. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1612.  
  1613. LocalPlayer.Character.HumanoidRootPart.RootJoint:Destroy()
  1614.  
  1615. local Attach0 = Instance.new("Attachment")
  1616. Attach0.Parent = LocalPlayer.Character["Right Arm"]
  1617. local Attach1 = Instance.new("Attachment")
  1618. Attach1.Parent = RightArm
  1619.  
  1620. local Pos = Instance.new("AlignPosition")
  1621. Pos.Parent = LocalPlayer.Character.Torso
  1622. Pos.RigidityEnabled = true
  1623. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1624.  
  1625. local Rot = Instance.new("AlignOrientation")
  1626. Rot.Parent = LocalPlayer.Character.Torso
  1627. Rot.RigidityEnabled = true
  1628. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1629.  
  1630. LocalPlayer.Character.Torso["Right Shoulder"]:Destroy()
  1631.  
  1632.  
  1633. local Attach0 = Instance.new("Attachment")
  1634. Attach0.Parent = LocalPlayer.Character["Left Arm"]
  1635. local Attach1 = Instance.new("Attachment")
  1636. Attach1.Parent = LeftArm
  1637.  
  1638. local Pos = Instance.new("AlignPosition")
  1639. Pos.Parent = LocalPlayer.Character.Torso
  1640. Pos.RigidityEnabled = true
  1641. Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1642.  
  1643. local Rot = Instance.new("AlignOrientation")
  1644. Rot.Parent = LocalPlayer.Character.Torso
  1645. Rot.RigidityEnabled = true
  1646. Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1647.  
  1648. LocalPlayer.Character.Torso["Left Shoulder"]:Destroy()
  1649.  
  1650.  
  1651. local Knife = Instance.new("Part")
  1652. Knife.Name = "-Karambit"
  1653. Knife.Parent = LocalPlayer.Character
  1654. Knife.Size = Vector3.new(0.25, 2, 0.25)
  1655. Knife.Transparency = 1
  1656. Knife.CanCollide = false
  1657.  
  1658. local KnifeWeld = Instance.new("Weld")
  1659. KnifeWeld.Parent = Knife
  1660. KnifeWeld.Part0 = RightArm
  1661. KnifeWeld.Part1 = Knife
  1662. KnifeWeld.C0 = CFrame.new(Vector3.new(-0.2, -1.125, 0.5)) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1663. KnifeWeld.C1 = CFrame.new(Vector3.new(0, 0, -0.125)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1664.  
  1665. local BV = Instance.new("BodyVelocity")
  1666. BV.Parent = KnifeAccessory.Handle
  1667. BV.Velocity = Vector3.new(0, 0, 0)
  1668.  
  1669. KnifeAccessory.Handle.AccessoryWeld:Destroy()
  1670.  
  1671. RA = Instance.new("Weld")
  1672. RA.Name = "KarambitRA"
  1673. RA.Parent = LocalPlayer.Character
  1674. RA.Part0 = Torso
  1675. RA.Part1 = RightArm
  1676. RA.C0 = CFrame.new(Vector3.new(1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1677. RA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1678.  
  1679. LA = Instance.new("Weld")
  1680. LA.Name = "KarambitLA"
  1681. LA.Parent = LocalPlayer.Character
  1682. LA.Part0 = Torso
  1683. LA.Part1 = LeftArm
  1684. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1685. LA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1686.  
  1687. RJ = Instance.new("Weld")
  1688. RJ.Name = "KarambitT"
  1689. RJ.Parent = LocalPlayer.Character
  1690. RJ.Part0 = LocalPlayer.Character.HumanoidRootPart
  1691. RJ.Part1 = Torso
  1692. RJ.C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1693. RJ.C1 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1694.  
  1695. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1696. wait(0.75)
  1697.  
  1698. LocalPlayer.Character.HumanoidRootPart.Anchored = false
  1699. LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  1700.  
  1701. Stuff.Events.ModeChangeEvent = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  1702. if Key.KeyCode == Enum.KeyCode.Q then
  1703. Stuff.Mode = 1
  1704. elseif Key.KeyCode == Enum.KeyCode.E then
  1705. Stuff.Mode = 2
  1706. end
  1707. end)
  1708.  
  1709. Stuff.Events.Button1DownEvent = LocalPlayer:GetMouse().Button1Down:Connect(function()
  1710. Stuff.LeftClickHolding = true
  1711. if Stuff.Debounces.Button1DownDebounce == false then
  1712. Stuff.Debounces.Button1DownDebounce = true
  1713.  
  1714. if LA ~= nil then
  1715. LA:Destroy()
  1716. LA = nil
  1717. end
  1718. if RA ~= nil then
  1719. RA:Destroy()
  1720. RA = nil
  1721. end
  1722. if RJ ~= nil then
  1723. RJ:Destroy()
  1724. RJ = nil
  1725. end
  1726.  
  1727. RA = Instance.new("Weld")
  1728. RA.Name = "KarambitRA"
  1729. RA.Parent = LocalPlayer.Character
  1730. RA.Part0 = Torso
  1731. RA.Part1 = RightArm
  1732. RA.C0 = CFrame.new(Vector3.new(1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1733. RA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1734.  
  1735. LA = Instance.new("Weld")
  1736. LA.Name = "KarambitLA"
  1737. LA.Parent = LocalPlayer.Character
  1738. LA.Part0 = Torso
  1739. LA.Part1 = LeftArm
  1740. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1741. LA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1742.  
  1743. RJ = Instance.new("Weld")
  1744. RJ.Name = "KarambitT"
  1745. RJ.Parent = LocalPlayer.Character
  1746. RJ.Part0 = LocalPlayer.Character.HumanoidRootPart
  1747. RJ.Part1 = Torso
  1748. RJ.C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1749. RJ.C1 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1750.  
  1751. if Stuff.Mode == 1 then
  1752. if Stuff.AttackCombo == 1 then
  1753. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) }):Play()
  1754. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.15, 1, 0)) * CFrame.Angles(math.rad(90), math.rad(80), math.rad(0)) }):Play()
  1755. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-50), math.rad(45), math.rad(0)) }):Play()
  1756. wait(0.45)
  1757.  
  1758. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)) }):Play()
  1759. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.15, 1, 0)) * CFrame.Angles(math.rad(-70), math.rad(-80), math.rad(0)) }):Play()
  1760. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(70), math.rad(-45), math.rad(0)) }):Play()
  1761.  
  1762. wait(0.025)
  1763. Stuff.Stab = true
  1764. wait(0.1)
  1765. Stuff.Stab = false
  1766.  
  1767. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1768.  
  1769. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1770. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(100), math.rad(35), math.rad(-10)) }):Play()
  1771. wait(0.3)
  1772. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1773. Stuff.Debounces.Button1DownDebounce = false
  1774. elseif Stuff.AttackCombo == 2 then
  1775. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1776. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1, -0.25)) * CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) }):Play()
  1777. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1778. wait(0.45)
  1779. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) }):Play()
  1780. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 1.5, -0.25)) * CFrame.Angles(math.rad(130), math.rad(-10), math.rad(0)) }):Play()
  1781. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 0.8, 0)) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(0)) }):Play()
  1782. wait(0.05)
  1783. Stuff.Stab = true
  1784. wait(0.1)
  1785. Stuff.Stab = false
  1786.  
  1787. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1788.  
  1789. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1790. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1791. Stuff.Debounces.Button1DownDebounce = false
  1792. elseif Stuff.AttackCombo == 3 then
  1793. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1794. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1.25, -0.25)) * CFrame.Angles(math.rad(130), math.rad(-10), math.rad(0)) }):Play()
  1795. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1796. wait(0.45)
  1797. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) }):Play()
  1798. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 0.75, -0.25)) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(0)) }):Play()
  1799. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 1.2, 0)) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(0)) }):Play()
  1800. wait(0.05)
  1801. Stuff.Stab = true
  1802. wait(0.1)
  1803. Stuff.Stab = false
  1804.  
  1805. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1806.  
  1807. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1808. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1809.  
  1810. Stuff.Debounces.Button1DownDebounce = false
  1811. end
  1812.  
  1813. if Stuff.AttackCombo >= 3 then
  1814. Stuff.AttackCombo = 1
  1815. else
  1816. Stuff.AttackCombo = Stuff.AttackCombo + 1
  1817. end
  1818.  
  1819. elseif Stuff.Mode == 2 then
  1820. if Stuff.Climbing == true then
  1821.  
  1822. Stuff.Climbing = false
  1823. end
  1824. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) }):Play()
  1825. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(200), math.rad(-10), math.rad(0)) }):Play()
  1826. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(70), math.rad(45), math.rad(0)) }):Play()
  1827. wait(0.15)
  1828.  
  1829.  
  1830.  
  1831. repeat
  1832. wait()
  1833. until Stuff.LeftClickHolding == false
  1834.  
  1835. Stuff.Debounces.Button1DownDebounce = false
  1836. end
  1837.  
  1838.  
  1839. end
  1840. end)
  1841.  
  1842. Stuff.Events.Button1UpEvent = LocalPlayer:GetMouse().Button1Up:Connect(function()
  1843. Stuff.LeftClickHolding = false
  1844.  
  1845. if RJ and LA and RA and Stuff.Mode == 2 then
  1846.  
  1847. local PossibleWall = game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 2), LocalPlayer.Character)
  1848. if PossibleWall ~= nil and PossibleWall.Size.Y >= 5 then
  1849. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1850. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(180), math.rad(5), math.rad(10)) }):Play()
  1851. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 0.5, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1852.  
  1853. LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1854.  
  1855. repeat
  1856. wait()
  1857. until Stuff.LeftClickHolding == true or Stuff.Mode ~= 2 or not game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 5), LocalPlayer.Character) or not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1858.  
  1859. LocalPlayer.Character.HumanoidRootPart.Anchored = false
  1860. LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(LocalPlayer.Character.HumanoidRootPart.Velocity.X, LocalPlayer.Character.Humanoid.JumpPower * 1.5, LocalPlayer.Character.HumanoidRootPart.Velocity.Z)
  1861.  
  1862. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1863. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 1.5, -0.25)) * CFrame.Angles(math.rad(30), math.rad(-10), math.rad(-10)) }):Play()
  1864. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 1.1, 0)) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(45)) }):Play()
  1865. wait(0.25)
  1866.  
  1867. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1868. else
  1869. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1870. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(50), math.rad(10), math.rad(0)) }):Play()
  1871. game:GetService("TweenService"):Create(LA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1872. wait(0.3)
  1873. game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1874. game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1875.  
  1876. LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1877. end
  1878.  
  1879. end
  1880. end)
  1881.  
  1882. repeat
  1883.  
  1884. if Stuff.Stab == true then
  1885. for i, v in pairs(game.Players:GetPlayers()) do
  1886. if v and v.Character and v.Character:FindFirstChild("-Claimed") and v.Character:FindFirstChildOfClass("Humanoid") then
  1887. if v.Character:FindFirstChildOfClass("Humanoid").Health > 0 and v.Character:FindFirstChildOfClass("Humanoid").Health ~= 1 then
  1888. spawn(function()
  1889. v.Character:FindFirstChildOfClass("Humanoid").Health = 1
  1890. v.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1891. wait(0.5)
  1892. v.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1893. end)
  1894. end
  1895. end
  1896. end
  1897. end
  1898.  
  1899. LocalPlayer.Character.Head.CanCollide = false
  1900. LocalPlayer.Character.Torso.CanCollide = false
  1901.  
  1902. KnifeAccessory.Handle.CanCollide = false
  1903. Knife.CanCollide = false
  1904. KnifeAccessory.Handle.CFrame = Knife.CFrame * CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90))
  1905. game:GetService("RunService").Stepped:Wait()
  1906. until not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1907.  
  1908. if LA ~= nil then
  1909. LA:Destroy()
  1910. LA = nil
  1911. end
  1912. if RA ~= nil then
  1913. RA:Destroy()
  1914. RA = nil
  1915. end
  1916. for i, v in pairs(Stuff.Events) do
  1917. v:Disconnect()
  1918. end
  1919. if Running then
  1920. Running:Destroy()
  1921. end
  1922. Stuff = nil
  1923. end
  1924. end)
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931. -- updating cmdlist
  1932.  
  1933. IceGear.UpdateCmdList(CmdList, {CmdBar, "alphabetical"})
  1934.  
  1935. -- Disconnecting all the events along with the functions if gui is re-executed:
  1936.  
  1937. repeat
  1938. wait()
  1939. until IceGear_AdminGui.Parent ~= game:GetService("CoreGui")
  1940.  
  1941. for i, v in pairs(IceGear.Events) do
  1942. pcall(function()
  1943. v:Disconnect()
  1944. end)
  1945. end
  1946.  
  1947. IceGear = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement